purescript / purescript-free

Free monads, Cofree comonads, Yoneda and Coyoneda functors, and the Trampoline monad.
BSD 3-Clause "New" or "Revised" License
93 stars 27 forks source link

Add wrap #94

Closed ajnsit closed 6 years ago

ajnsit commented 6 years ago

Equivalent to join . liftF. Similar to the corresponding function in Haskell - http://hackage.haskell.org/package/free-5.0.1/docs/Control-Monad-Free.html#v:wrap.

garyb commented 6 years ago

Thanks!