ForSyDe-3.0: ForSyDe's Haskell-embedded Domain Specific Language.
Source code
Contents
Index
ForSyDe.Bit
Portability
portable
Stability
experimental
Maintainer
forsyde-dev@ict.kth.se
Description
Bit
Datatype. Note that the
Num
instance is phony and shouldn't be used
Synopsis
data
Bit
=
H
|
L
not
::
Bit
->
Bit
bitToBool
::
Bit
->
Bool
boolToBit
::
Bool
->
Bit
toBitVector8
::
Int8
->
FSVec
D8
Bit
fromBitVector8
::
FSVec
D8
Bit
->
Int8
toBitVector16
::
Int16
->
FSVec
D16
Bit
fromBitVector16
::
FSVec
D16
Bit
->
Int16
toBitVector32
::
Int32
->
FSVec
D32
Bit
fromBitVector32
::
FSVec
D32
Bit
->
Int32
toBitVector64
::
Int64
->
FSVec
D64
Bit
fromBitVector64
::
FSVec
D64
Bit
->
Int64
Documentation
data
Bit
Source
Constructors
H
High value
L
Low value
Instances
Eq
Bit
Data
Bit
Num
Bit
Show
Bit
Typeable
Bit
Bits
Bit
Lift
Bit
not
::
Bit
->
Bit
Source
Not operation over bits
bitToBool
::
Bit
->
Bool
Source
Convert a bit to a boolean
boolToBit
::
Bool
->
Bit
Source
Convert a boolean to a bit
toBitVector8
::
Int8
->
FSVec
D8
Bit
Source
fromBitVector8
::
FSVec
D8
Bit
->
Int8
Source
toBitVector16
::
Int16
->
FSVec
D16
Bit
Source
fromBitVector16
::
FSVec
D16
Bit
->
Int16
Source
toBitVector32
::
Int32
->
FSVec
D32
Bit
Source
fromBitVector32
::
FSVec
D32
Bit
->
Int32
Source
toBitVector64
::
Int64
->
FSVec
D64
Bit
Source
fromBitVector64
::
FSVec
D64
Bit
->
Int64
Source
Produced by
Haddock
version 2.1.0