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

Safe HaskellNone
LanguageHaskell98

Puppet.Interpreter.Utils

Description

The module should not depend on the Interpreter module. It is an internal module and should not be used if expecting a stable API.

Synopsis

Documentation

initialState #

Arguments

:: Facts 
-> Container Text

Server settings

-> InterpreterState 

checkStrict #

Arguments

:: Doc

The warning message.

-> Doc

The error message.

-> InterpreterMonad () 

Throws an error if we are in strict mode A warning in permissive mode

isEmpty :: (Eq x, Monoid x) => x -> Bool #