Fixed width words and operations.
import Data.Integral
import Data.Word
fromIntegral 4 .|. fromIntegral 2 :: Word8
Word8 0x06 (6u)You can install this package via Bower. You will also need BigInteger.js, which can be installed via npm:
bower install purescript-word
For the browser, remember to bundle BigInteger.min.js with your code.
bower install
npm install
Then, use pulp to build, run tests and generate the documentation.