[Haskell] Typeable and Data instances for Double, FiniteMap, ...

Simon Peyton-Jones simonpj at microsoft.com
Tue Jan 18 06:19:21 EST 2005


| I was playing around with "Scap you Boilerplate" and realised some
missing instances of Typeable and
| Data. Is there a particular reason why there is no Data Double
instance?
| Furthermore I was wondering why no instance for the collection types
such as FiniteMap, Set and
| HashTable is provided. At the end of the mail [1] there is my
implementation of instances for at least
| Double and FiniteMap.

I've asked Ralf if he'll add them.

| Apart from that I looked at the library source-code (GHC) and
reallised that there is really much
| documenting comments in, but which are not Haddock comments. Again I
don't understand that. Is
| the programmer supposed to look at the source-code rather the API
documentation?

It should be Haddock'd.  We'd be delighted if anyone was willing to
transfer code in comments to Haddock comments, where that is
appropriate, and probably add new Haddock comments where necessary.  

	Any volunteers?   We'd give CVS access...

Simon




More information about the Haskell mailing list