What&#39;s the quickest/the best/a way of converting a series of bits into bytes? Ie, converting a [Bool] to a [Word8]. So if I had <font class="Apple-style-span" face="&#39;courier new&#39;, monospace">replicate 8 True ++ replicate 8 False :: [Bool]</font>, it would spit out <font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[255,0] :: [Word8]</font><font class="Apple-style-span" face="arial, helvetica, sans-serif">.</font>