Open Ailrun opened 5 years ago
Currently @typed-f/functor only have one util function, namely map. However, functor can do more things, like replace : <Tag, T>(v: T, fv: Functor1<Tag, any>) => Functor1<Tag, T>.
@typed-f/functor
map
replace : <Tag, T>(v: T, fv: Functor1<Tag, any>) => Functor1<Tag, T>
Description
Currently
@typed-f/functor
only have one util function, namelymap
. However, functor can do more things, likereplace : <Tag, T>(v: T, fv: Functor1<Tag, any>) => Functor1<Tag, T>
.