Nutella Peanut-Butter Marshmallow

npm

Need private packages and team management tools?Check out npm Orgs. »

lemonad

0.5.2 • Public • Published

lemonad

a functional programming library built on, and extending, Underscore.js -- inspired by the Clojure core and contrib libraries.

lemonad

currently available functions:

[ '$',
  'CAS',
  'CASProtocol',
  'L',
  'Hole',
  'RefProtocol',
  'VERSION',
  'WatchableProtocol',
  'accessor',
  'actions',
  'addWatch',
  'assoc',
  'best',
  'butLast',
  'cat',
  'comparator',
  'compareAndSwap',
  'complement',
  'compose',
  'conjoin',
  'cons',
  'constantly',
  'ctor',
  'curry',
  'curry2',
  'curry3',
  'curry4',
  'cycle',
  'dec',
  'decreasing',
  'decreasingOrEq',
  'disjoin',
  'dropWhile',
  'eq',
  'everyPred',
  'existy',
  'explode',
  'flip2',
  'fnull',
  'frequencies',
  'gt',
  'implode',
  'inc',
  'increasing',
  'increasingOrEq',
  'interleave',
  'interpose',
  'into',
  'invokeAll',
  'isAssociative',
  'is',
  'isEven',
  'isIndexed',
  'isOdd',
  'isNeg',
  'isPos',
  'isReference',
  'isSeq',
  'isInst',
  'isZero',
  'iterateUntil',
  'juxt',
  'k',
  'keep',
  'keepIndexed',
  'lift',
  'lt',
  'mapcat',
  'maxKey',
  'merge',
  'meth',
  'mix',
  'nth',
  'not',
  'partial$',
  'partial1',
  'partial2',
  'partition',
  'partitionAll',
  'pipeline',
  'plucker',
  'pour',
  'reductions',
  'remove',
  'removeWatch',
  'renameKeys',
  'repeat',
  'repeatedly',
  'second',
  'selectKeys',
  'setValue',
  'snapshot',
  'someFun',
  'splitAt',
  'splitWith',
  'swap',
  't',
  'takeSkipping',
  'takeWhile',
  'trampoline',
  'truthy',
  'unzip',
  'update' ]

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
  • cod
  • yggdrasil
  • undermine
  • reb
  • cljs
  • tables
  • bach.js
  • datalog
  • poems
  • shape decls
  • cheatsheet
  • site

Keywords

none

install

npm i lemonad

Downloadsweekly downloads

2

version

0.5.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability