Copyright | (C) 2012-14 Edward Kmett |
---|---|

License | BSD-style (see the file LICENSE) |

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

Stability | provisional |

Portability | portable |

Safe Haskell | None |

Language | Haskell98 |

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