
12 Dec
2005
12 Dec
'05
5:45 a.m.
I'm puzzled that the following is accepted. Is some sort of greatest fixed point computation used for instances? {-# OPTIONS_GHC -fglasgow-exts #-} module M where class C a b where c :: a -> b -> Bool instance C b b => C (Maybe a) b where c x y = c y y f :: Maybe a -> Bool f x = c x x
7100
Age (days ago)
7100
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ross Paterson