Safe Haskell | None |
---|---|
Language | Haskell2010 |
Different logic-related components.
Synopsis
- convertRange :: MonadIO m => ConfRange -> m (LocalTime, LocalTime)
- resolveInputOrg :: FilePath -> WorkM (Text, Org)
- resolveScope :: Text -> WorkM Org
- resolveReport :: Text -> WorkM Org
- resolveOutput :: Text -> WorkM ConfOutput
Documentation
convertRange :: MonadIO m => ConfRange -> m (LocalTime, LocalTime) Source #
Converts config range to a pair of UTCTime
, right bound not inclusive.
resolveInputOrg :: FilePath -> WorkM (Text, Org) Source #
Resolves org file: reads from path and puts into state or just gets out of state if was read before.
resolveScope :: Text -> WorkM Org Source #
Return scope with requested name or fail. It will be either constructed on the spot or taken from the state if it had been created previously.
resolveOutput :: Text -> WorkM ConfOutput Source #