<div dir="ltr"><span style="font-size:14px">> newtype B = B { toBool :: Bool }</span><div><br></div><div>yep, this works well. <span style="font-size:14px">toBool b1</span> is easy enough ;)</div><div><br></div><div>I wondered if there was an easy (with deriving etc) way to test B as it is. If there isn't - no biggie.</div><div><br></div><div><br>​</div></div>