Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
host :: HostName -> Host Source
Starts accumulating the properties of a Host.
host "example.com" & someproperty ! oldproperty & otherproperty
Starts accumulating a list of properties.
propertyList "foo" $ props & someproperty ! oldproperty & otherproperty
class PropAccum h where Source
Something that can accumulate properties.
(!) :: PropAccum h => h -> RevertableProperty -> h infixl 1 Source
Adds a property in reverted form.
propigateContainer :: PropAccum container => String -> container -> Property HasInfo -> Property HasInfo Source
Adjust the provided Property, adding to its propertyChidren the properties of the provided container.
The Info of the propertyChildren is adjusted to only include info that should be propigated out to the Property.
Any PrivInfo that uses HostContext is adjusted to use the name of the container as its context.