Copyright | © 2015–2016 Megaparsec contributors |
---|---|
License | FreeBSD |
Maintainer | Mark Karpov <markkarpov@opmbx.org> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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.