[Haskell-beginners] Down in Data.Ord vs GHC.Exts

Matthew O'Connor thegreendragon at gmail.com
Tue Apr 16 06:55:19 CEST 2013


While attempting to do some sorting, I ran across Down. The docs:
http://hackage.haskell.org/packages/archive/base/latest/doc/html/Data-Ord.html#t:Downsay
it's in Data.Ord, but GHCi 7.4.1 complains the Down data constructor
isn't in scope, but if I import GHC.Exts (
http://hackage.haskell.org/packages/archive/base/latest/doc/html/GHC-Exts.html#t:Down),
I get the constructor I expect.

Are the docs wrong? Or is there something I'm not doing right to get Down
exported from Data.Ord? Or other things to check?

Thanks,
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130415/4d0e3b6a/attachment.htm>


More information about the Beginners mailing list