b9-2.0.0: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.Artifact.Content.ErlangPropList

Description

Allow reading, merging and writing Erlang terms.

Synopsis

Documentation

newtype ErlangPropList Source #

A wrapper type around erlang terms with a Semigroup instance useful for combining sys.config files with OTP-application configurations in a list of the form of a proplist.

Instances
Eq ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Data ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ErlangPropList -> c ErlangPropList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ErlangPropList #

toConstr :: ErlangPropList -> Constr #

dataTypeOf :: ErlangPropList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ErlangPropList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ErlangPropList) #

gmapT :: (forall b. Data b => b -> b) -> ErlangPropList -> ErlangPropList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ErlangPropList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ErlangPropList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ErlangPropList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ErlangPropList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ErlangPropList -> m ErlangPropList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ErlangPropList -> m ErlangPropList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ErlangPropList -> m ErlangPropList #

Read ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Show ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Generic ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Associated Types

type Rep ErlangPropList :: Type -> Type #

Semigroup ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Arbitrary ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Hashable ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

NFData ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

Methods

rnf :: ErlangPropList -> () #

Textual ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

FromAST ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

type Rep ErlangPropList Source # 
Instance details

Defined in B9.Artifact.Content.ErlangPropList

type Rep ErlangPropList = D1 (MetaData "ErlangPropList" "B9.Artifact.Content.ErlangPropList" "b9-2.0.0-4v7Psu2Zb0SKZH2VQDRc40" True) (C1 (MetaCons "ErlangPropList" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SimpleErlangTerm)))

textToErlangAst :: Text -> AST c ErlangPropList Source #

Parse a text containing an Erlang expression ending with a . and Return an AST.

Since: 0.5.67

stringToErlangAst :: String -> AST c ErlangPropList Source #

Parse a string containing an Erlang expression ending with a . and Return an AST.

Since: 0.5.67