tomland-0.5.0: Bidirectional TOML parser

Safe HaskellNone
LanguageHaskell2010

Toml.Type.TOML

Synopsis

Documentation

data TOML Source #

Represents TOML configuration value.

Instances
Eq TOML Source # 
Instance details

Defined in Toml.Type.TOML

Methods

(==) :: TOML -> TOML -> Bool #

(/=) :: TOML -> TOML -> Bool #

Show TOML Source # 
Instance details

Defined in Toml.Type.TOML

Methods

showsPrec :: Int -> TOML -> ShowS #

show :: TOML -> String #

showList :: [TOML] -> ShowS #

Generic TOML Source # 
Instance details

Defined in Toml.Type.TOML

Associated Types

type Rep TOML :: Type -> Type #

Methods

from :: TOML -> Rep TOML x #

to :: Rep TOML x -> TOML #

Semigroup TOML Source # 
Instance details

Defined in Toml.Type.TOML

Methods

(<>) :: TOML -> TOML -> TOML #

sconcat :: NonEmpty TOML -> TOML #

stimes :: Integral b => b -> TOML -> TOML #

Monoid TOML Source # 
Instance details

Defined in Toml.Type.TOML

Methods

mempty :: TOML #

mappend :: TOML -> TOML -> TOML #

mconcat :: [TOML] -> TOML #

NFData TOML Source # 
Instance details

Defined in Toml.Type.TOML

Methods

rnf :: TOML -> () #

type Rep TOML Source # 
Instance details

Defined in Toml.Type.TOML

type Rep TOML = D1 (MetaData "TOML" "Toml.Type.TOML" "tomland-0.5.0-LfjG6U9ib3bHsNLsVqknKF" False) (C1 (MetaCons "TOML" PrefixI True) (S1 (MetaSel (Just "tomlPairs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Key AnyValue)) :*: S1 (MetaSel (Just "tomlTables") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (PrefixMap TOML))))

insertKeyVal :: Key -> Value a -> TOML -> TOML Source #

Inserts given key-value into the TOML.

insertKeyAnyVal :: Key -> AnyValue -> TOML -> TOML Source #

Inserts given key-value into the TOML.

insertTable :: Key -> TOML -> TOML -> TOML Source #

Inserts given table into the TOML.