Safe Haskell | None |
---|
- indicesRef :: Text
- parseIndices :: Text -> [Int]
- unparseIndices :: [Int] -> Text
- data DefaultList a = DefaultList a [a]
- defaultListIndex :: DefaultList a -> Int -> a
Documentation
parseIndices :: Text -> [Int]Source
unparseIndices :: [Int] -> TextSource
data DefaultList a Source
A list which, when indexed on non-existant positions, returns a default value.
DefaultList a [a] |
defaultListIndex :: DefaultList a -> Int -> aSource