27 Mar
2001
27 Mar
'01
9:38 a.m.
I am trying to make all polynomial functors (in the categorical sense) an instance of the class Functor. Consider a datatype (corresponsing to a constant functor): data ConstInt a = Const Int ConstInt is clearly a functor in the categorical sense, but is 'ConstInt' also a functor in Haskell?? Any ideas how to make 'ConstInt' an instance of class Functor? -Tobi -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
9285
Age (days ago)
9285
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tobias Haeberlein