| Copyright | © 2015 Megaparsec contributors |
|---|---|
| License | BSD3 |
| Maintainer | Mark Karpov <[email protected]> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Megaparsec.ShowToken
Description
Pretty printing function and instances for use in error messages.
Documentation
class Show a => ShowToken a where Source
Typeclass ShowToken defines single function showToken that can be
used to “pretty-print” various tokens. By default, all commonly used
instances are defined, but you can add your own, of course.