Package

purescript-word

Repository
proclivis/purescript-word
License
MIT
Uploaded by
Proclivis
Published on
2017-07-14T13:08:32Z

Latest release Build status

Fixed width words and operations.

Module documentation

Example

import Data.Integral
import Data.Word
fromIntegral 4 .|. fromIntegral 2 :: Word8
Word8 0x06 (6u)

Installation and usage

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.

Development

bower install
npm install

Then, use pulp to build, run tests and generate the documentation.