fp-ts-rxjs
TypeScript icon, indicating that this package has built-in type declarations

0.6.15 • Public • Published

fp-ts bindings for rxjs

Implemented instances

  • Monad
  • Alternative
  • Filterable

Example

import { from } from 'rxjs'
import { observable } from 'fp-ts-rxjs/lib/Observable'

const fa = from([1, 2, 3])
const fb = observable.chain(fa, a => from([a, a + 1]))
// fb will emit 1, 2, 2, 3, 3, 4

TypeScript compatibility

The stable version is tested against TypeScript 3.1.3

rxjs compatibility

rxjs version fp-ts-rxjs version
rxjs@6 fp-ts-rxjs@0.5.x
rxjs@5 fp-ts-rxjs@0.4.x

Documentation

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.6.155,379latest
0.3.01next

Version History

VersionDownloads (Last 7 Days)Published
0.6.155,379
0.6.141
0.6.13815
0.6.121
0.6.113,683
0.6.101
0.6.922
0.6.81
0.6.71
0.6.63
0.6.51
0.6.42
0.6.31
0.6.22
0.6.12
0.6.01
0.5.11
0.5.01
0.4.01
0.3.01
0.2.01
0.1.11
0.1.01
0.0.11

Package Sidebar

Install

npm i fp-ts-rxjs

Weekly Downloads

9,924

Version

0.6.15

License

MIT

Unpacked Size

243 kB

Total Files

48

Last publish

Collaborators

  • gcanti