Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Pure (read-only) arrays
Synopsis
- data PureArr a
- data PureArrD a
- newPureArr :: Tuple a => [a] -> PureArr a
- newPureArrD :: Arg a => [a] -> PureArrD a
- readPureArr :: Tuple a => PureArr a -> Sig -> a
- readPureArrD :: Arg a => PureArrD a -> D -> a
Documentation
Pure (read-only) array. We can initialise it and it's a pure value. After initialisation we can read values with lookupPureArr
This version works on control rate
Pure (read-only) array. We can initialise it and it's a pure value. After initialisation we can read values with lookupPureArr
This version works on initialisation rate
newPureArr :: Tuple a => [a] -> PureArr a Source #
Inits pure array that can be read at control rate
newPureArrD :: Arg a => [a] -> PureArrD a Source #
Inits pure array that can be read at initialisation rate