underscore, turned up to 11. a functional programming library for javascript inspired by clojure, ml, haskell, joy and forth.
JavaScript
Pull request Compare This branch is 171 commits behind fogus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
examples/poetry
lib
test
.gitignore
README.md
package.json
test-lo-dash.html
test.html

README.md

lemonad

A functional programming library built on, and extending, Underscore.js and Underscore-contrib -- inspired by Clojure, Haskell, SML and Forth.

lemonad

currently available functions:

[ '$',
  'CAS',
  'CASMixin',
  'L',
  'Hole',
  'RefMixin',
  'VERSION',
  'WatchableMixin',
  'actions',
  'addWatch',
  'compareAndSwap',
  'ctor',
  'curry',
  'curry2',
  'curry3',
  'curry4',
  'dec',
  'dispatcher',
  'eq',
  'gt',
  'invokeAll',
  'is',
  'isReference',
  'keepIndexed',
  'lift',
  'lt',
  'maxKey',
  'meth',
  'mix',
  'partial1',
  'partial2',
  'removeWatch',
  'rot',
  'setValue',
  'swap' ]

Influences / References

Todo

  • The rest of the things
  • Promises/A-compatible functions (http://wiki.commonjs.org/wiki/Promises/A)
  • 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