bash-0.1.6: Bash generation library.

Safe HaskellNone

Language.Bash.PrettyPrinter

Description

Pretty printer for Bash.

Documentation

builder :: PP t => t -> BuilderSource

class Annotation t whereSource

Methods

annotate :: t -> Statement t -> State PPState ()Source

Instances

class PP t whereSource

Methods

pp :: t -> State PPState ()Source

keyset :: (PP t, PP t1) => (t, t1) -> State PPState ()Source

case_clause :: (PP t, PP t1) => (t, t1) -> StateT PPState Identity ()Source

render_redirect :: (PP t, PP t1, PP t2) => Redirection -> t -> Either t1 t2 -> ByteStringSource