
7 Aug
2016
7 Aug
'16
7:45 a.m.
for a Bool-like newtype: newtype B = B Bool , is there an easy way to use this newtype B in place of Bool? e.g. let b1 = B True in if b1 then 1 else 0 ?