MaximeRVY / fp-ts

Functional programming in TypeScript

Home Page:https://gcanti.github.io/fp-ts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functional programming in TypeScript

build status dependency status npm downloads

Inspired by PureScript, static-land, Scala.

The idea (faking higher kinded types in TypeScript) is based on Lightweight higher-kinded polymorphism

Installation

To install the stable version:

npm install --save fp-ts

TypeScript compatibility

The stable version is tested against TypeScript 3.2.4, but should run with TypeScript 2.8.0+ too

Note. If you are running < typescript@3.0.1 you have to polyfill unknown.

You can use unknown-ts as a polyfill.

Note. Make sure to always have a single version of fp-ts installed in your project. Multiple versions are known to cause tsc to hang during compilation. You can check the versions currently installed using npm ls fp-ts (make sure there's a single version and all the others are marked as deduped).

Ecosystem

Bindings

Documentation

Internals

Examples

Type Classes

License

The MIT License (MIT)

About

Functional programming in TypeScript

https://gcanti.github.io/fp-ts/

License:MIT License


Languages

Language:TypeScript 98.6%Language:JavaScript 1.3%Language:HTML 0.1%