1.0.0 • Published 8 years ago

most-static-land v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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)