Proposal: Show and Read for Data.Ord.Down
Erik Hesselink
hesselink at gmail.com
Fri Oct 11 23:15:09 UTC 2013
On Fri, Sep 27, 2013 at 1:23 AM, Ben Millwood <haskell at benmachine.co.uk> 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.
Erik
More information about the Libraries
mailing list