EVP-0.1: Environment Variable Parser
Safe HaskellSafe-Inferred
LanguageGHC2021

EVP.Internal

Documentation

data Error Source #

Instances

Instances details
Show Error Source # 
Instance details

Defined in EVP.Internal

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

data ScanF a Source #

Constructors

ScanF 

Instances

Instances details
Functor ScanF Source # 
Instance details

Defined in EVP.Internal

Methods

fmap :: (a -> b) -> ScanF a -> ScanF b #

(<$) :: a -> ScanF b -> ScanF a #

data Scan a where Source #

Constructors

Pure :: a -> Scan a 
Scan :: ScanF a -> Scan (a -> b) -> Scan b 
Group :: String -> Scan a -> Scan a 

Instances

Instances details
Applicative Scan Source # 
Instance details

Defined in EVP.Internal

Methods

pure :: a -> Scan a #

(<*>) :: Scan (a -> b) -> Scan a -> Scan b #

liftA2 :: (a -> b -> c) -> Scan a -> Scan b -> Scan c #

(*>) :: Scan a -> Scan b -> Scan b #

(<*) :: Scan a -> Scan b -> Scan a #

Functor Scan Source # 
Instance details

Defined in EVP.Internal

Methods

fmap :: (a -> b) -> Scan a -> Scan b #

(<$) :: a -> Scan b -> Scan a #