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

update Coyoneda -> use same argument names as in datatype #100

Open srghma opened 4 years ago

LiamGoodacre commented 4 years ago

The typo fixes are good; but I see no reason to change these type names. More often than not, people write out the type of fmap as ... => (a -> b) -> f a -> f b (specifically with a,b,f); and it can be nice for these to line up, as they do at the moment.

LiamGoodacre commented 4 years ago

(well, the unCoyoneda one doesn't quite line up)

srghma commented 4 years ago

Ok

srghma commented 4 years ago

@LiamGoodacre, do I need to do anything to get this merged?