helic-0.1.0.0: Clipboard Manager
Safe HaskellNone
LanguageHaskell2010

Helic.Interpreter.InstanceName

Description

Reader Interpreter for InstanceName, Internal

Synopsis

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 Reader InstanceName using the name specified in the config file, falling back to the system's host name if it wasn't given.