Portability | portable |
---|---|

Stability | provisional |

Maintainer | Edward Kmett <ekmett@gmail.com> |

Safe Haskell | Safe-Inferred |

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

strippingSuffix :: Eq a => [a] -> Prism' [a] [a]Source