envparse-0.3.2: Parse environment variables

Safe HaskellSafe
LanguageHaskell2010

Env.Generic

Synopsis

Documentation

class Record e a where Source

Minimal complete definition

Nothing

Methods

record :: Parser e a Source

class Field e a where Source

Minimal complete definition

Nothing

Methods

field :: String -> Maybe String -> Parser e a Source

newtype a ? tag Source

Variable tagged with its help message.

Constructors

Help 

Fields

unHelp :: a
 

Instances

(KnownSymbol tag, Field e a) => Field e ((?) Symbol a tag) Source 
Functor ((?) * a) Source 
Foldable ((?) * a) Source 
Traversable ((?) * a) Source 
Eq a => Eq ((?) k a tag) Source 
Show a => Show ((?) k a tag) Source 

class Generic a

Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.

Minimal complete definition

from, to

Instances

Generic Bool 
Generic Char 
Generic Double 
Generic Float 
Generic Int 
Generic Ordering 
Generic () 
Generic Void 
Generic All 
Generic Any 
Generic Arity 
Generic Fixity 
Generic Associativity 
Generic [a] 
Generic (U1 p) 
Generic (Par1 p) 
Generic (Identity a) 
Generic (ZipList a) 
Generic (Dual a) 
Generic (Endo a) 
Generic (Sum a) 
Generic (Product a) 
Generic (First a) 
Generic (Last a) 
Generic (Maybe a) 
Generic (Either a b) 
Generic (Rec1 f p) 
Generic (a, b) 
Generic (Const a b) 
Generic (WrappedMonad m a) 
Generic (Proxy * t) 
Generic (K1 i c p) 
Generic ((:+:) f g p) 
Generic ((:*:) f g p) 
Generic ((:.:) f g p) 
Generic (a, b, c) 
Generic (WrappedArrow a b c) 
Generic (Alt k f a) 
Generic (M1 i c f p) 
Generic (a, b, c, d) 
Generic (a, b, c, d, e) 
Generic (a, b, c, d, e, f) 
Generic (a, b, c, d, e, f, g)