Copyright | Copyright (c) 2020-2025 Travis Cardwell |
---|---|
License | MIT |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
YAML
loadYaml :: FilePath -> IO (Either String QueueSheet) Source #
Load a queues YAML file, resolving imports
Since: 0.3.0.0
:: forall m. Monad m | |
=> (FilePath -> m (Either String ByteString)) | file loader |
-> FilePath | absolute path |
-> m (Either String QueueSheet) |
Load a queues YAML file using the given file loader, resolving imports
This function defines the logic for loadYaml
using an arbitrary monad.
It is exposed for testing purposes.
Since: 0.3.0.0