Module

Data.Config

Package
purescript-config
Repository
TinkerTravel/purescript-config

Applicative configuration DSL.

#Config Source

type Config k = FreeAp (ConfigF k)

A configuration description.

#ConfigF Source

data ConfigF k a

A setting description.

Constructors

#OptionalF Source

data OptionalF k a b

Helper type for existential quantification.

Constructors

#string Source

string :: forall k. k -> Config k String

A string setting that can contain any text.

#int Source

int :: forall k. k -> Config k Int

An integer setting.

#optional Source

optional :: forall a k. Config k a -> Config k (Maybe a)

An optional setting.

#prefix Source

prefix :: forall a k. k -> Config k a -> Config k a

A setting with some prefix.