27 Mar
2001
27 Mar
'01
10:09 a.m.
What is wrong with:
class Functor ConstInt where map f (Const n) = Const n
Ups - absolutely nothing. I actually tried it with data ConstInt a = Int and didnt manage to make this an instance of class Functor. Sorry for giving the wrong example. -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