29 Oct
2001
29 Oct
'01
10:43 p.m.
Hi, you cannot use sections with types and (->). Furthermore the variable must begin with a lowercase letter. So you have to write instance Functor (->) a where. By the way, you may write fmap = (.) instead of fmap f g = f . g. Yours, Wolfgang