trifecta-0.50: A modern parser combinator library with convenient diagnostics

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

Text.Trifecta.Diagnostic.Rendering.Prim

Contents

Description

The type for Lines will very likely change over time, to enable drawing lit up multi-character versions of control characters for ^Z, ^[, 0xff, etc. This will make for much nicer diagnostics when working with protocols.

Synopsis

Documentation

class Source t whereSource

Methods

source :: t -> (Int64, Int64, Lines -> Lines)Source

rendering :: Source s => Delta -> s -> RenderingSource

create a drawing surface

Lower level drawing primitives