language-puppet-1.3.8.1: Tools to parse and evaluate the Puppet DSL.

Safe HaskellNone
LanguageHaskell98

Puppet.Lens

Contents

Synopsis

Pure resolution prisms

Prisms for PValues (reexport from Puppet.Interpreter.Types)

Parsing prism

Lenses and Prisms for Statements

_Statements :: Lens' Statement [Statement] #

Extracts the statements from ClassDeclaration, DefineDeclaration, Node and the spurious statements of TopContainer.

Lenses and Prisms for Expressions

Prisms for exceptions