| Copyright | © 2015–2018 Stack Builders Inc. |
|---|---|
| License | MIT |
| Maintainer | Stack Builders <hackage@stackbuilders.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Configuration.Dotenv.ParsedVariable
Description
Helpers to interpolate environment variables
Documentation
data ParsedVariable Source #
Constructors
| ParsedVariable VarName VarValue |
Instances
| Eq ParsedVariable Source # | |
Defined in Configuration.Dotenv.ParsedVariable Methods (==) :: ParsedVariable -> ParsedVariable -> Bool # (/=) :: ParsedVariable -> ParsedVariable -> Bool # | |
| Show ParsedVariable Source # | |
Defined in Configuration.Dotenv.ParsedVariable Methods showsPrec :: Int -> ParsedVariable -> ShowS # show :: ParsedVariable -> String # showList :: [ParsedVariable] -> ShowS # | |
Constructors
| Unquoted VarContents | |
| SingleQuoted VarContents | |
| DoubleQuoted VarContents |
type VarContents = [VarFragment] Source #
data VarFragment Source #
Constructors
| VarInterpolation String | |
| VarLiteral String | |
| CommandInterpolation String |
Instances
| Eq VarFragment Source # | |
Defined in Configuration.Dotenv.ParsedVariable | |
| Show VarFragment Source # | |
Defined in Configuration.Dotenv.ParsedVariable Methods showsPrec :: Int -> VarFragment -> ShowS # show :: VarFragment -> String # showList :: [VarFragment] -> ShowS # | |
interpolateParsedVariables :: [ParsedVariable] -> IO [(String, String)] Source #