Proposal: change the Bits instance for Bool to align with other basic types and support branchless calculations

Brandon Allbery allbery.b at
Sun Sep 28 19:45:49 UTC 2014

On Sun, Sep 28, 2014 at 3:38 PM, Brandon Allbery <allbery.b at>

> In particular, I'm not quite seeing where this fits within Data.Bits

It just occurred to me that I may have answered part of this myself on IRC
yesterday, in a different context: the strictness of the other instances
may not indicate a fundamental difference between Bool and the other
instances beyond the fact that the other instances are effectively
spine-strict bit arrays, whereas Bool is free to *express* laziness.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list