[Haskell-beginners] Restrict type in phantom data-type

Francesco Ariis fa-ml at ariis.it
Fri Sep 1 14:57:58 UTC 2017


On Fri, Sep 01, 2017 at 04:55:32PM +0200, Francesco Ariis wrote:
>     module MyType (rainy, Day, Sunny) -- *not* Day

I meant to write: -- not `Day(..)`


More information about the Beginners mailing list