Fri, 05 May 2000 16:17:42 +0200, Sven Panne <[EMAIL PROTECTED]>
pisze:
> > data Fn = Fn (Float -> Float) Int
> > deriving Show
>
> Functions are not an instance of Show, so you have to supply
>
> instance Show (a -> b) where
Better supply a Show instance for Fn, not by deriving, but by
instance Show Fn where ...
Show instance for functions should not be needed. It is only for lazy
programmers who want to make a quick dirty instance, for debugging
perhaps.
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/ GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
^^ W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK 5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-