1.0.0 • Published 9 years ago
most-static-land v1.0.0
Static Land Stream type for Most
Installation
npm install most-static-land// modern JavaScritp
import Stream from 'most-static-land'
// classic JavaScript
var Stream = require('most-static-land')Usage
Stream is a Static Land type
that supports Semigroup, Monoid, Functor, Apply, Applicative, Chain, and Monad.
import {observe} from 'most'
import Stream from 'most-static-land'
const stream = Stream.map(x => x * 3, Stream.of(2))
observe(x => {
// ...
}, stream)1.0.0
9 years ago