| Copyright | (c) Fumiaki Kinoshita 2015 |
|---|---|
| License | BSD3 |
| Maintainer | Fumiaki Kinoshita <[email protected]> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Extensible.Match
Description
Pattern matching
Documentation
matchWith :: (forall x. f x -> g x -> r) -> (f :* xs) -> (g :| xs) -> r Source #
Retrieve the contents so that they matches and pass both to the given function.
Turn a wrapper type into a clause for it.