Some things about haskell-src

Marco Túlio Gontijo e Silva marcot at
Sat Sep 27 19:01:02 EDT 2008


Op vrijdag 26-09-2008 om 11:04 uur [tijdzone -0300], schreef Marco Túlio
Gontijo e Silva:
> I'm using haskell-src, and I noticed that the data types defined in
> Language.Haskell.Syntax don't derive Ord.  It makes sense, cause there's
> no logical way to ordenate them, but it makes it impossible to use with
> Data.Set functions, such as fromList.  It would be good to be possible
> to use Data.Set with these types, so maybe including deriving Ord to the
> data types is a good idea.

I've made a patch to haskell-src that makes all types instance
of Ord.


Correio: marcot at
XMPP: marcot at
IRC: marcot at
Telefone: 25151920
Celular: 98116720
  Rua Turfa, 639/701
  Prado 30410-370
  Belo Horizonte/MG Brasil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ord.patch
Type: text/x-patch
Size: 7029 bytes
Desc: not available
Url :

More information about the Libraries mailing list