Utility function to cut out the interior of a large text block
Moduledhall-1.42.3Haskell2010
Dhall.Util
Shared utility functions
- 8 types
- 11 values
- Packagedhall-1.42.3
- Exports19
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceUtil.hs
Function to insert an aligned pretty expression
Prefix used for error messages
Prefix used for error messages
Output a warning message on stderr.
Path to input
Constructors
Specifies whether or not an input's transitive dependencies should also be processed. Transitive dependencies are restricted to relative file imports.
Constructors
NonTransitiveDo not process transitive dependencies
TransitiveProcess transitive dependencies in the same way
Path to output
Constructors
Convenient utility for retrieving an expression
Convenient utility for retrieving an expression along with its header
Convenient utility for retrieving an expression along with its header from | text already read from STDIN (so it's not re-read)
A header corresponds to the leading comment at the top of a Dhall file.
The header includes comment characters but is stripped of leading spaces and trailing newlines
A check failure corresponding to a single input. This type is intended to be used with MultipleCheckFailed for error reporting.
Constructors
Exception thrown when the --check flag to a command-line subcommand fails
Instances2Show, Exception
Show MultipleCheckFailedDefined in dhall-1.42.3 · Dhall.UtilException MultipleCheckFailedDefined in dhall-1.42.3 · Dhall.Util
Run IO for multiple inputs, then collate all the check failures before throwing if there was any failure
Convenient utility to output an expression either to a file or to stdout.