[Haskell-cafe] (Co/Contra)Functor and Comonad

wren ng thornton wren at freegeek.org
Sat Dec 25 01:30:28 CET 2010


On 12/23/10 9:41 PM, Daniel Peebles wrote:
> For me, mostly naming. Cofunctor isn't the right name for it, and comap,
> while short, feels wrong. Contrafunctor feels better but is also cumbersome.
> No problems with Comonad, though.

It is wrong. Cofunctors are exactly functors. It's unfortunate that 
"contramap" is such a long name though.

-- 
Live well,
~wren



More information about the Haskell-Cafe mailing list