https://github.com/seb-bizeul/fp-flow instead
[DEPRECATED] useInstall
yarn add @sbizeul/maybe
or
npm i @sbizeul/maybe
Usage
import * as Maybe from '@sbizeul/maybe'
const add = x => x + x
const maybe = Maybe.Just(5)
const result = R.pipe(
Maybe.map(add),
Maybe.getOrElse(() => 0)
)(maybe)