Ord instance for Data.Data.Constr

Alan & Kim Zimmerman alan.zimm at gmail.com
Tue Jan 13 21:54:57 UTC 2015


Never mind, I can derive one for ConstrRep

Alan

On Tue, Jan 13, 2015 at 11:49 PM, Alan & Kim Zimmerman <alan.zimm at gmail.com>
wrote:

> Is there a reason there is no Ord instance for Data.Data.Constr?
>
> I want to use it as part of a key in a Map, and can't auto derive the
> instance as all the constructors are not in scope.
>
> Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150113/cfbcdbd5/attachment.html>


More information about the ghc-devs mailing list