Proposal: NF newtype

Henning Thielemann lemming at henning-thielemann.de
Wed Apr 22 18:49:56 UTC 2015


On Wed, 22 Apr 2015, Dan Burton wrote:

> A hand-written read makes more sense to me in this case:
> read = makeNF . read
> show = show . getNF

Show and Read instances should process Strings representing Haskell code, 
and I guess, Haskell code with the same type as the represented value. 
Thus the NF should be part of the formatted value.


More information about the Libraries mailing list