Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including lemonad with all npm packages installed. Try it out:

var lemonad = require("lemonad")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

lemonad v0.7.4

JavaScript functional programming library, inspired by the Clojure, ML, Haskell and Forth. Built on Underscore and its contrib library.


A functional programming library for JavaScript inspired by Clojure, Haskell, SML and Forth.



Add the following to your 'package.json' file in the "dependencies" section:

"lemonad": "0.7.4"

Currently available functions

[ 'apos;,
  'typed' ]

Influences / References


  • The rest of the things
  • Promises/A-compatible functions (
  • Moar monadology
  • Logic vars?
  • Unification?
  • Other things that I can't think of right now
  • Generators / iterators?
  • Futures?
  • Laziness?
  • Badass memoize
  • Some data generators?
  • merges
  • walking
  • rel alg
  • into for objects
  • make sure that anything that works for array also works for arguments
  • Make sure I say, sequence on input and array on output
  • yggdrasil
  • undermine
  • reb
  • cljs
  • tables
  • bach.js
  • datalog
  • poems
  • shape decls
  • cheatsheet
  • site


This software is provided as-is under the MIT license.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free