[Haskell-beginners] Bool newtype
Marcin Mrotek
marcin.jan.mrotek at gmail.com
Sun Aug 7 14:49:39 UTC 2016
Hello,
That kind of a function can be also declared automatically, as in:
newtype B = B { toBool :: Bool }
Best regards,
Marcin Mrotek
More information about the Beginners
mailing list