Typescript library for functional programming.
sa-lambda is currently working in progress.
- Either
- Maybe
- Iterator
- Pipe & Flow
- Equal
- Effect
- Math
- Async (Promise-Like)
- Tree
- Docs
- Functors
npm install sa-lambdayarn add sa-lambdapnpm add sa-lambdaimport { pipe } from 'sa-lambda'
pipe(
1,
(num: number) => num + 1,
(num: number) => num + 2
)import { flow } from 'sa-lambda/pipe'
const f = flow(
(num: number) => num + 1,
(num: number) => num + 2
)
f(1)
f(2)- fp-ts - Functional programming in TypeScript
- fantasy-land - Specification for interoperability of common algebraic structures in JavaScript
- sugar.js - Like syntactic sugar, but is library
The MIT License (MIT)
