Safe Haskell | None |
---|---|
Language | Haskell2010 |
Reader Interpreter for InstanceName, Internal
Synopsis
- determineName :: Members [Error Text, Embed IO] r => Maybe Text -> Sem r InstanceName
- interpretInstanceName :: Members [Error Text, Embed IO] r => Maybe Text -> InterpreterFor (Reader InstanceName) r
Documentation
determineName :: Members [Error Text, Embed IO] r => Maybe Text -> Sem r InstanceName Source #
If no instance name was given in the config file, query the system's host name.
interpretInstanceName :: Members [Error Text, Embed IO] r => Maybe Text -> InterpreterFor (Reader InstanceName) r Source #
Interpret
using the name specified in the config file, falling back to the system's host
name if it wasn't given.Reader
InstanceName