hermit-0.1.8.0: Haskell Equational Reasoning Model-to-Implementation Tunnel

Safe HaskellNone

Language.HERMIT.PrettyPrinter.Common

Contents

Synopsis

Documentation

newtype TranslateDocH a Source

Constructors

TranslateDocH 

data HermitMark Source

Constructors

PushAttr Attr 
PopAttr 

Instances

newtype Unicode Source

Constructors

Unicode Char 

newtype HTML Source

Constructors

HTML String 

Instances

Monoid HTML 
RenderCode HTML

Use css to do the colors - - > type="text/css" - > .hermit-syntax { - > color: red; - > /style

RenderSpecial HTML 

class (RenderSpecial a, Monoid a) => RenderCode a whereSource

Instances

RenderCode DebugPretty 
RenderCode HTML

Use css to do the colors - - > type="text/css" - > .hermit-syntax { - > color: red; - > /style

RenderCode LaTeX 
RenderCode ASCII 

Does a top level program should function names, or complete listings?

listify :: (MDoc a -> MDoc a -> MDoc a) -> [MDoc a] -> MDoc aSource

vlist :: [MDoc a] -> MDoc aSource

like vcat and hcat, only make the list syntax explicit

hlist :: [MDoc a] -> MDoc aSource

like vcat and hcat, only make the list syntax explicit