Methods
size :: (WordAs8, WordAs8) -> Int Source #
sizes :: (WordAs8, WordAs8) -> [Int] Source #
safeElem :: (WordAs8, WordAs8) -> WordAs8 -> WordAs8 Source #
ordBounds :: (WordAs8, WordAs8) -> (WordAs8, WordAs8) Source #
defLimit :: WordAs8 -> Integer Source #
defaultBounds :: Int -> (WordAs8, WordAs8) Source #
unsafeIndex :: Int -> WordAs8 Source #
isEmpty :: (WordAs8, WordAs8) -> Bool Source #
inBounds :: (WordAs8, WordAs8) -> WordAs8 -> InBounds Source #
isOverflow :: (WordAs8, WordAs8) -> WordAs8 -> Bool Source #
isUnderflow :: (WordAs8, WordAs8) -> WordAs8 -> Bool Source #
inRange :: (WordAs8, WordAs8) -> WordAs8 -> Bool Source #
prev :: (WordAs8, WordAs8) -> WordAs8 -> WordAs8 Source #
next :: (WordAs8, WordAs8) -> WordAs8 -> WordAs8 Source #
offset :: (WordAs8, WordAs8) -> WordAs8 -> Int Source #
index :: (WordAs8, WordAs8) -> Int -> WordAs8 Source #
range :: (WordAs8, WordAs8) -> [WordAs8] Source #
subshape :: (Sub WordAs8 j, Index (WordAs8 :|: j)) => (WordAs8, WordAs8) -> (WordAs8 :|: j) -> (j, j) Source #
slice :: (Sub WordAs8 j, ij ~ (WordAs8 :|: j), Index j) => (WordAs8, WordAs8) -> ij -> ((ij, ij), (j, j)) Source #