0.2.0 • Published 3 years ago

@perfective/identity v0.2.0

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

Identity Monad

@perfective/identity provides an Identity class which implements an identity monad. Identity class satisfies the three monad laws and provides the onto() method as a bind operator. Its instance can be instantiated with the identity() or take() unit functions. These functions are virtually the same, and picking either of them can be based on code style.

Read the full documentation in the repository.