Felix Schroeter <[EMAIL PROTECTED]> writes: > > > > To quote from somewhere deep within the Prelude: > > > instance Show (a -> b) where > > showsPrec _ _ = showString "<<function>>" > > > [meta-comment: could we just do away with this one? Beyond giving > > rise to semi-entertaining bugs, it's of precious little > practical use..] > > I think, it IS of practical use for hugs users, as it prints > <<function>> as a response of a function valued expression instead > of an error message that it can't find an instance of Show for the > type of the entered expression. > That's a Hugs user interface issue, and can be solved without polluting the Haskell Prelude, i.e., no need to burden the rest of us with it ;-) > > > begin 600 MachRegs.diff > > Why not in clear text? :-) > because Outlook scares me no end :-) > > [... uuencode deleted ...] > > Regards, Felix. > > PS: The Message-Id in your mail is a bit strange. Usually, it should > be <[EMAIL PROTECTED]>. > Maybe so, but it's within the bounds of what constitutes a legal addr-spec as per RFC 822. --Sigbjorn
RE: instance Show (a->b) (was Re: GHC-4.00 assembler crash)
Sigbjorn Finne (Intl Vendor) Sun, 25 Oct 1998 20:02:10 +0100 (MET)