binary-literal-qq-1.0: Extends Haskell with binary literals.

Safe HaskellNone

Language.Literals.Binary

Description

This module exports a quasiquoter for binary integer literals.

Example usage:

 import Language.Literals.Binary
 import Data.Word

not :: Word32 -> Word32
 not [b| 0 |] = [b| 1 |]
 not [b| 1 |] = [b| 0 |]

Documentation