Code Monkey home page Code Monkey logo

nomads's Introduction

Nomads

A collection of useful monads for JavaScript

API

Left

Parameters

  • value any

bind

Returns Left

map

Returns Left

fold

Returns Left

toString

Returns String

Right

Parameters

  • value any

bind

Parameters

Returns (Left | Right)

map

Parameters

Returns Right

fold

Parameters

Returns any

toString

Returns String

Reader

Parameters

bind

Parameters

Returns Reader

map

Parameters

Returns Reader

run

Parameters

  • environment any

Returns any

toString

Returns String

unit

Parameters

  • environment any

Returns Reader

State

Parameters

bind

Parameters

Returns State

map

Parameters

Returns State

run

Parameters

  • state any

Returns Array

toString

Returns String

unit

Parameters

  • value any

Returns State

get

Returns State

put

Parameters

  • state any

Returns State

modify

Parameters

Returns State

Writer

Parameters

  • value any
  • log Array? (optional, default [])

bind

Parameters

Returns Writer

map

Parameters

Returns Writer

value

Parameters

Returns any

log

Parameters

  • entry any?

Returns Array

toString

Returns String

unit

Parameters

  • value any

Returns Writer

License

Copyright © 2017 Kasper Kronborg Isager. Licensed under the terms of the MIT license.

nomads's People

Contributors

kasperisager avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.