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
20082026
-
…outside of fairytales. In other words, life is a lot like JavaScript and never that simple. [1] - https://github.com/fantasyland/fantasy-land
comment by artisin · 2026-07-02 · in The short leash AI coding method for beating Fable -
…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 -
…[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 -
…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…
comment by jauntywundrkind · 2023-08-04 · in Ramda: A practical functional library for JavaScript programmers -
…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 -
…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…
comment by antris · 2021-05-15 · in Modern Javascript: Everything you missed over the last 10 years (2020) -
…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
comment by WorldMaker · 2021-01-28 · in Ask HN: Elm, PureScript, or ReasonML for a FP course? -
…attitude. The goal of this spec is to standardize on functional algebra nomenclature in JS. [1] https://github.com/fantasyland/fantasy-land
comment by lhorie · 2020-05-19 · in Examples of Incorrect Abstractions in Other Languages -
…safer than try/catch. [0] https://gcanti.github.io/fp-ts/modules/ [1] https://sanctuary.js.org/ [2] https://github.com/fantasyland/fantasy-land
comment by dakom · 2019-06-19 · in Elegant Error Handling with the JavaScript “Either” Monad -
…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 -
…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 ?
comment by fermigier · 2018-10-10 · in Boltons: A set of BSD-licensed, pure-Python utilities -
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...
comment by vinylkey · 2018-02-15 · in JavaScript Promises Discussion: Make Them Monadic? (2013) -
…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…
comment by dahart · 2018-02-15 · in JavaScript Promises Discussion: Make Them Monadic? (2013) -
…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 -
…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 -
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 -
…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 -
…abstractions in a couple production projects, too!) [0] https://github.com/ramda/ramda-fantasy [1] https://github.com/fantasyland/fantasy-land
comment by girvo · 2016-07-10 · in Composability: From Callbacks to Categories in ES6 -
…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 -
…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 -
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 -
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 -
…set of these were in the language. Does Wu.js conform to any of the fantasy-land specifications? https://github.com/fantasyland/fantasy-land
comment by kybernetikos · 2014-08-07 · in Show HN: Wu.js – Higher order functions for ES6 iterators -
…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…
comment by jdonaldson · 2014-03-07 · in Why are callbacks more “tightly coupled” than promises?