parsley-core-2.0.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

Parsley.Internal.Trace

Description

This module contains the defintion of the Trace class, used to print additional debug information from the internals.

Since: 0.1.0.0

Synopsis

Documentation

class Trace Source #

Used to produce debug output within parsley.

Since: 0.1.0.0

Minimal complete definition

trace

Instances

Instances details
Trace Source #

This instance, when in scope, will enable additional debug output from the Parsley compilation process. It will always superscede the default instance defined in Parsley.

Since: 0.1.0.0

Instance details

Defined in Parsley.Internal.Verbose

Methods

trace :: String -> a -> a Source #

trace :: Trace => String -> a -> a Source #

Print a string to the console.

traceShow :: (Trace, Show a) => a -> a Source #

Print a value to the console.