Proposal: Show and Read for Data.Ord.Down

Erik Hesselink hesselink at
Fri Sep 27 07:51:36 CEST 2013

On Fri, Sep 27, 2013 at 1:23 AM, Ben Millwood <haskell at> wrote:
> On Thu, Sep 26, 2013 at 06:16:57PM +1000, Ivan Lazar Miljenovic wrote:
>> +1 from me as well; furthermore, how about an "unDown :: Down a -> a"
>> record function or some such just to avoid the "\(Down x) -> x" usage
>> like how Krzysztof described?
> I vote for `getDown` as it's just not often enough I feel like my Haskell
> code is instructing me to party.

Calling it 'getDown' would also be consistent with the newtypes in Data.Monoid.


More information about the Libraries mailing list