Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/werk85/fp-ts-ixjs
fp-ts binding for IxJS
https://github.com/werk85/fp-ts-ixjs
Last synced: 3 months ago
JSON representation
fp-ts binding for IxJS
- Host: GitHub
- URL: https://github.com/werk85/fp-ts-ixjs
- Owner: mlegenhausen
- License: mit
- Created: 2019-08-12T12:32:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T04:30:07.000Z (over 1 year ago)
- Last Synced: 2024-08-12T08:09:14.214Z (3 months ago)
- Language: TypeScript
- Size: 1.45 MB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fp-ts - werk85/fp-ts-ixjs
README
[![CircleCI](https://circleci.com/gh/werk85/fp-ts-ixjs.svg?style=svg)](https://circleci.com/gh/werk85/fp-ts-ixjs)
[fp-ts](https://github.com/gcanti/fp-ts) bindings for [IxJS](https://github.com/ReactiveX/IxJS)
# Implemented instances
- `Monad`
- `Alternative`
- `Filterable`# Example
```ts
import { from } from 'ix/asynciterable'
import { asyncIterable } from 'fp-ts-ixjs/lib/AsyncIterableX'const fa = from([1, 2, 3])
const fb = asyncIterable.chain(fa, a => from([a, a + 1]))
// fb will emit 1, 2, 2, 3, 3, 4
```# Documentation
- [API Reference](https://werk85.github.io/fp-ts-ixjs)