| Copyright | (c) Dan Doel 2013 |
|---|---|
| License | BSD3 |
| Maintainer | Dan Doel <dan.doel@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Ermine.Pretty.Pattern
Description
Documentation
prettyPattern :: Applicative f => Pattern t -> [String] -> Int -> (t -> Int -> f Doc) -> (HashMap PatternPath String, f Doc) Source
lambdaPatterns :: Applicative f => [Pattern t] -> [String] -> (t -> Int -> f Doc) -> (HashMap PatternPath String, f Doc) Source
prettyGuarded :: Applicative f => Guarded tm -> Doc -> (tm -> f Doc) -> f Doc Source