Learning FP lib - crocks
-
Learning how to use
Maybe.Just()
andMaybe.Nothing()
, and how to unwrap a Functor by using.option(n)
. | Code | Blog | Docs -
Learning how to use Helper function
safe
and predicates functionisNumber
,isString
. | Code | Blog | Docs -
Learning how to use Helper function
prop
to get value from object or array. | Code | Blog | Docs -
Learning how to use Helper function
propPath
for getting nested object value. | Code | Blog | Docs -
Learning hwo to use Helper instance method
chain
instead ofmap
,chain
known as flatMap in other library. | Code | Blog | Docs -
Learning how to use Instance method
alt
to provide an alternative value for Maybe | Code | Blog | Docs -
Learning how to use Instance method
coalesce
to provdie a default value inside of Maybe | Code | Blog | Docs -
Learning how to use
ap, liftA2, curry
to apply Maybe context of a function | Code | Blog | Docs -
Learning how to use
safeLift
to replacesafe(pred, n).map(fn)
|Code | Blog | Docs