Nautical Pea Maker

    loda

    0.1.3 • Public • Published

    Use JavaScript functionally pure, you must!

    Core concepts

    • Designed to be curried, all loda functions are. Last, most-significant arguments come. Yes, hmmm.

    • Kitchen sink Loda is not. Minimal functional toolkit, it is. Build complex functionality from it, you can.

    • Sequence comprehensions like map and reduce operate on ES6 Iterables, and not Arrays or Objects. This makes Loda compatible with anything that can be iterated including not just Arrays and Objects, but the ES6 collections Map and Set, Strings, arguments objects, and third-party data structures like immutable.

    • Sequence comprehensions return unfulfilled Iterables. This makes them lazy, allowing for performant chained operations and allows them to reify to any Array, Object or any kind of data structure.

    • Monads Maybe and Promise tackle two of Javascript's gnarliest problems: error-handling and asyncronicity.

    Disclaimer

    Loda is totally experimental. No guarantees are made to it working correctly, however specs/ illustrates Loda's test coverage.

    Contribution

    Use Github issues for requests.

    Pull requests actively welcomed.

    Install

    npm i loda

    DownloadsWeekly Downloads

    11

    Version

    0.1.3

    License

    BSD

    Last publish

    Collaborators

    • leebyron