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

Stability | provisional |

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

Safe Haskell | None |

Traversals for manipulating parts of a list.

- strippingPrefix :: Eq a => [a] -> Prism' [a] [a]
- strippingSuffix :: Eq a => [a] -> Prism' [a] [a]
- stripSuffix :: Eq a => [a] -> [a] -> Maybe [a]

# Documentation

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

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

stripSuffix :: Eq a => [a] -> [a] -> Maybe [a]Source