
13 Jan
2007
13 Jan
'07
7:57 p.m.
G'day all.
Quoting Conal Elliott
I'm working on a library that includes a Cofunctor instance. I'd love to import whatever standard module has the Cofunctor class, and maybe use some Cofunctor combinators. But, alas, I haven't found such a thing, and I'm wondering what to do.
I'd say that the "right" thing to do is first, claim a space in the module namespace (presumably Control.Cofunctor) and then, release the world's second-smallest Cabalised library (after hnop). I am mildly curious as to how you managed to come up with a use for covariant functors, though. Cheers, Andrew Bromage