- build<F>(f): (<S, A>(builder) => ((init) => Cofree<F, A>))
Returns (<S, A>(builder) => ((init) => Cofree<F, A>))
The new instance.
- <S, A>(builder): ((init) => Cofree<F, A>)
Parameters
builder: ((s) => [A, Get1<F, S>])
- (s): [A, Get1<F, S>]
Returns [A, Get1<F, S>]
Returns ((init) => Cofree<F, A>)
Build a new
Cofree
frombuilder
.