envparse-0.4: Parse environment variables

Safe HaskellSafe
LanguageHaskell2010

Env.Internal.Val

Synopsis

Documentation

data Val e a Source

A type isomorphic to Either with the accumulating Applicative instance.

Constructors

Err e 
Ok a 

Instances

Functor (Val e) Source 
Monoid e => Applicative (Val e) Source 
Monoid e => Alternative (Val e) Source 
(Eq e, Eq a) => Eq (Val e a) Source 
(Show e, Show a) => Show (Val e a) Source 

fromEither :: Either e a -> Val e a Source

toEither :: Val e a -> Either e a Source