Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- naturalIndexSafe :: (MonadSafe m, IndexSafe full item) => full -> Natural -> m item
- class IndexSafe full item | full -> item where
- indexSafeLL :: (MonadSafe m, ListLike full item) => full -> Int -> m item
Documentation
naturalIndexSafe :: (MonadSafe m, IndexSafe full item) => full -> Natural -> m item #
Index
class IndexSafe full item | full -> item where #
Type Class
findWithDefault :: item -> Int -> full -> item #
findMaybe :: Int -> full -> Maybe item #
indexMaybe :: full -> Int -> Maybe item #
indexSafeLL :: (MonadSafe m, ListLike full item) => full -> Int -> m item #
Internal functions