{"id":16340403,"url":"https://github.com/i-am-tom/fantas-eel-and-specification","last_synced_at":"2025-10-26T00:30:20.978Z","repository":{"id":98194847,"uuid":"84494254","full_name":"i-am-tom/fantas-eel-and-specification","owner":"i-am-tom","description":"Examples and exercises from the blog series","archived":true,"fork":false,"pushed_at":"2017-06-17T12:07:35.000Z","size":33,"stargazers_count":86,"open_issues_count":0,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-10T23:56:40.180Z","etag":null,"topics":["algebraic-structures","example","functional","javascript","typeclasses"],"latest_commit_sha":null,"homepage":"http://www.tomharding.me/2017/03/03/fantas-eel-and-specification/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i-am-tom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-09T22:22:57.000Z","updated_at":"2024-08-21T23:26:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"56e522b2-4e0c-4d24-aa95-f2bc0b29079c","html_url":"https://github.com/i-am-tom/fantas-eel-and-specification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-am-tom%2Ffantas-eel-and-specification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-am-tom%2Ffantas-eel-and-specification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-am-tom%2Ffantas-eel-and-specification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-am-tom%2Ffantas-eel-and-specification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-am-tom","download_url":"https://codeload.github.com/i-am-tom/fantas-eel-and-specification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algebraic-structures","example","functional","javascript","typeclasses"],"created_at":"2024-10-10T23:56:42.089Z","updated_at":"2025-10-26T00:30:20.553Z","avatar_url":"https://github.com/i-am-tom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fantas, Eel, and Specification [![Join the chat at https://gitter.im/fantas-eel-and-specification/Lobby](https://badges.gitter.im/fantas-eel-and-specification/Lobby.svg)](https://gitter.im/fantas-eel-and-specification/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nHello, friends! If you're reading this, I'm either in the process of writing - or have finished writing - a series of **blog posts** on the [Fantasy Land](https://github.com/fantasyland/fantasy-land) specification for typeclasses in JavaScript - hooray!\n\nWhen _I_ started trying to get to grips with the Fantasy Land spec and its uses, I spent most of my day with this expression:\n\n![Katya reads the Comonad spec](https://media.giphy.com/media/GutiPRFVkTtPa/giphy.gif)\n\nThe thing is that a lot of these patterns are going to be **pretty weird** if you're coming from a different paradigm (most likely **OOP**). In any case, it's probably going to be helpful to have some examples. With that in mind, I'm going to fill this repo with exactly that, and refer to it whenever _I_ get stuck.\n\nI'll aim to include **all examples and exercises** from [the blog series](http://www.tomharding.me/2017/03/03/fantas-eel-and-specification/), as well as some new ones as I stumble across them. If you want to contribute, _please_ **submit pull requests** with updates to the current examples, or even exciting new stuff! All discussion is productive, and (if you haven't guessed) I _love_ talking about this stuff. Heads up: I intend to uphold a [**code of conduct**](https://wealljs.org/code-of-conduct), as we're all _hopefully_ more interested in functional programming than upsetting each other. I'm optimistic!\n\nFinally, **ask questions**! I'm by no means an expert, but I'll do my best to be useful, or at least point you in the direction of more helpful people. I don't know about you, but I like the idea of a **functional future** for JS, so it's _totally_ in my best interests to clarify anything that might confuse people.\n\nThanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-am-tom%2Ffantas-eel-and-specification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-am-tom%2Ffantas-eel-and-specification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-am-tom%2Ffantas-eel-and-specification/lists"}