Numeric types, think Haskell Num, Real, etc.
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-numerics
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.