
29 May
2009
29 May
'09
9:47 a.m.
Hi all, GHC is not happy with this: f = [] == [] nor this: f' = ([]::(Eq a) => [a]) == ([]::(Eq a) => [a]) but this is OK: f'' = ([]::[Integer]) == ([]::[Integer]) GHCI is comfortable with [] == [], so why not GHC? 'Just curious. Cheers, Paul