[Haskell] Re: Parameterized Show
ger at informatik.uni-bremen.de
Mon Nov 15 06:50:05 EST 2004
Keean Schupke wrote:
> Do you need a language extension at all? You can certainly
> do it with the existing extensions!
> data ShowDict a
> instance Show (ShowDict a) where
> showsPrec _ (ShowDict a) = ...
I don't understand. How does that help you to, for example, use a function which
requires Show Int but (say) substitute the standard function for which which shows
More information about the Haskell