On Feb 5, 2010, at 19:13 , Brandon S. Allbery KF8NH wrote:
Hm.  Does it make sense to make this a Functor?

> instance Functor Binding where
>   fmap f (Binding v e) = Binding v (f e)


Inaccurate/incomplete as written, since Functor expects kind (*) and Binding is (* -> *). You'd have to fix v to declare instances.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to