Hacker GitHub

← All repos

fantasyland/fantasy-land

View on GitHub ↗ ★ 10,244 JavaScript

Specification for interoperability of common algebraic structures in JavaScript

32 mentions on Hacker News by 28 people: 8 stories, 24 comments · first 2014-02-16 · latest 2026-07-02

Mentions per year 32 mentions · busiest year 2016 (7)
20082026
  1. …outside of fairytales. In other words, life is a lot like JavaScript and never that simple. [1] - https://github.com/fantasyland/fantasy-land
  2. …something on with not a lot of benefit. Don't get me wrong, I think there's value in stuff like https://github.com/fantasyland/fantasy-land --I find organizing how I think about computations around these algebraic concepts helps me a lot,…
    comment by ddellacosta · 2026-04-30 · in Monad Tutorials Timeline
  3. …[0] - https://ramdajs.com/docs/ [1] https://char0n.github.io/ramda-adjunct/4.0.0/index.html [2] https://github.com/fantasyland/fantasy-land (A bit heavy on jargon) Note there is a python version of Ramda available on pypi and there’s a lot…
    comment by bionhoward · 2023-08-16 · in Functional Programming 1
  4. …tech world, that the tech twitter and every other ultra-active tech channel has somewhat decayed. https://github.com/fantasyland/fantasy-land Thanks for the links. I know I've seen @gcanti's name a thousand times already, but had utterly…
  5. …portion of library consumers that benefit from the academic roots of those design decisions.) [0] https://github.com/fantasyland/fantasy-land
    comment by lhorie · 2022-01-20 · in Awesome Functional Programming
  6. …them become mainstream later) so often that they literally called one of their specs "Fantasy Land" https://github.com/fantasyland/fantasy-land There's still lot of work to be done. JavaScript doesn't even have proper immutable data…
  7. …people already know because that gets a lot of the basics out of the way and out of the focus. [1] https://github.com/fantasyland/fantasy-land [2] https://github.com/fantasyland/static-land
  8. …attitude. The goal of this spec is to standardize on functional algebra nomenclature in JS. [1] https://github.com/fantasyland/fantasy-land
  9. …safer than try/catch. [0] https://gcanti.github.io/fp-ts/modules/ [1] https://sanctuary.js.org/ [2] https://github.com/fantasyland/fantasy-land
  10. …JS community which only use the functional subset: https://github.com/jfmengels/eslint-plugin-fp https://github.com/fantasyland/fantasy-land https://ramdajs.com/ That subculture is what I was referring to. If you’re splitting hairs over…
    comment by danabramov · 2018-12-29 · in Things I Don’t Know as of 2018
  11. …could be to work on some common specifications, like the JS community did with Fantasyland ( https://github.com/fantasyland/fantasy-land ), and then let projects implements the specification the way they want. WDYT ?
  12. Fun fact: the JS library Fantasy Land [1] got its name from that discussion [2]. [1] https://github.com/fantasyland/fantasy-land [2] https://github.com/promises-aplus/promises-spec/issues/94#is...
  13. …a couple words in that sentence, like "it" and "has". :P Looking up fantasy-land, I found https://github.com/fantasyland/fantasy-land . I would like to better understand these monads everyone is talking about. But, just to be super honest…
  14. …some basic properties such as composition, associativity, left identity, right identity, etc, see https://github.com/fantasyland/fantasy-land . These would be neutral because math is often neutral. For instance, if intelligent aliens…
    comment by staltz · 2018-02-15 · in Promises are not neutral enough
  15. …for getting developers to experiment with and adopt functional programming paradigms. [0] https://github.com/fantasyland/fantasy-land [1] https://github.com/sanctuary-js/sanctuary
    comment by agentultra · 2017-12-09 · in Currying is not idiomatic in JavaScript
  16. Go to the project page[0] on GitHub and the first thing it loads is the README.md file. [0] https://github.com/fantasyland/fantasy-land
    comment by dr_zoidberg · 2016-09-15 · in Fantasy Land 1.0
  17. …better link: "Specification for interoperability of common algebraic structures in JavaScript" [1] https://github.com/fantasyland/fantasy-land
    comment by mmastrac · 2016-09-14 · in Fantasy Land 1.0
  18. …abstractions in a couple production projects, too!) [0] https://github.com/ramda/ramda-fantasy [1] https://github.com/fantasyland/fantasy-land
  19. …about Algebraic structures and group theory from a very practical standpoint I highly recommend https://github.com/fantasyland/fantasy-land Also - does anyone show me a practical usecase of the reader monad ? cant you just use partial…
    comment by wrong_variable · 2016-05-20 · in Functional Programming, Abstraction, and Names
  20. …Monapt did you take a look at any of the "Fantasy Land" compliant implementations? ( https://github.com/fantasyland/fantasy-land )
    comment by WorldMaker · 2015-10-20 · in Goodbye CoffeeScript, Hello TypeScript
  21. Yes, Fantasy Land is a specification of Monad (as well as other type classes) for JavaScript: https://github.com/fantasyland/fantasy-land
    comment by andrus · 2015-08-29 · in Effectful Haskell: IO, Monads, Functors
  22. Heck yeah, be sure to also check out: - https://github.com/puffnfresh/bilby.js - https://github.com/fantasyland/fantasy-land - https://github.com/baconjs/bacon.js - https://github.com/kriskowal/frb - https://github.com/swannodette/mori -…
    comment by hashtree · 2014-09-16 · in Why I changed my mind about Node.js
  23. …set of these were in the language. Does Wu.js conform to any of the fantasy-land specifications? https://github.com/fantasyland/fantasy-land
  24. …you're interested in approaches that follow algebraic/monad patterns, check out fantasyland spec: https://github.com/fantasyland/fantasy-land The name of the spec is a joke, but the spec itself is not. It's referencing a very real…