[Haskell] Read Instances for Data.Map and Data.Set
Simon Marlow
simonmar at microsoft.com
Mon Oct 24 06:35:04 EDT 2005
On 22 October 2005 06:21, Donald Bruce Stewart wrote:
> The ones I can think of off the top of my head. Of course, these are
> weird for various reasons though:
>
> > show $ toDyn (1::Int) -- Dynamic has no Read
> "<<Int>>"
>
> > show $ typeOf (1::Int) -- TypeRep as no Read
> "Int"
That reminds me, the Show instance for Exception is similarly bogus.
Cheers,
Simon
More information about the Libraries
mailing list