Instance Declaration discrepancy

2 Jun
2001
2 Jun
'01
5:13 a.m.
class MyShow a where sh :: a -> String instance (Integral a) => Show a where sh = "Integer " + show a Ghc 5.00.1 (with -fglasgow-exts) does not accept the above, while hugs with extensions has no problem with this. Is it a bug? Thanks, S
8754
Age (days ago)
8754
Last active (days ago)
0 comments
1 participants
participants (1)
-
Saswat Anand