Portability | portable |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | None |
Traversals for manipulating parts of a list.
- prefixed :: Eq a => [a] -> Prism' [a] [a]
- suffixed :: Eq a => [a] -> Prism' [a] [a]
- stripSuffix :: Eq a => [a] -> [a] -> Maybe [a]
- strippingPrefix :: Eq a => [a] -> Prism' [a] [a]
- strippingSuffix :: Eq a => [a] -> Prism' [a] [a]
Documentation
stripSuffix :: Eq a => [a] -> [a] -> Maybe [a]Source
Deprecated
strippingPrefix :: Eq a => [a] -> Prism' [a] [a]Source
Deprecated: Use 'prefixed'.
This is a deprecated alias for prefixed
.
strippingSuffix :: Eq a => [a] -> Prism' [a] [a]Source
Deprecated: Use 'suffixed'.
This is a deprecated alias for suffixed
.