queue-sheet
CopyrightCopyright (c) 2020-2025 Travis Cardwell
LicenseMIT
Safe HaskellSafe-Inferred
LanguageHaskell2010

QueueSheet.File

Contents

Description

 
Synopsis

YAML

loadYaml :: FilePath -> IO (Either String QueueSheet) Source #

Load a queues YAML file, resolving imports

Since: 0.3.0.0

loadYaml' Source #

Arguments

:: 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