Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype WordArray = WordArray { }
- newtype Index = Index { }
- toWordArray :: Word64 -> WordArray
- readArray :: WordArray -> Index -> Element WordArray
- writeArray :: WordArray -> Index -> Element WordArray -> WordArray
- overIndex :: Index -> ( Element WordArray -> Element WordArray ) -> WordArray -> WordArray
- iforWordArray :: Applicative f => WordArray -> ( Int -> Element WordArray -> f ()) -> f ()
- ifoldWordArray :: ( Int -> Element WordArray -> b -> b) -> b -> WordArray -> b
- toList :: WordArray -> [ Element WordArray ]
- toTuple :: WordArray -> (# Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray #)
- displayWordArray :: WordArray -> String
Documentation
Instances
toWordArray :: Word64 -> WordArray Source #
overIndex :: Index -> ( Element WordArray -> Element WordArray ) -> WordArray -> WordArray Source #
Modify the word at a given index.
iforWordArray :: Applicative f => WordArray -> ( Int -> Element WordArray -> f ()) -> f () Source #
toTuple :: WordArray -> (# Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray , Element WordArray #) Source #
displayWordArray :: WordArray -> String Source #