HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduledhall-1.42.3Haskell2010

Dhall.Util

Shared utility functions

  • 8 types
  • 11 values
  • Packagedhall-1.42.3
  • Exports19
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUtil.hs
valuesnip :: Text -> Text
#

Utility function to cut out the interior of a large text block

valuesnipDoc :: Doc Ann -> Doc a
#

Like snip, but for Docs

Note that this has to be opinionated and render ANSI color codes, but that should be fine because we don't use this in a non-interactive context

value_ERROR :: IsString string => string
#

Prefix used for error messages

datadata Transitivity
#

Specifies whether or not an input's transitive dependencies should also be processed. Transitive dependencies are restricted to relative file imports.

Constructors

datadata OutputMode
#

Some command-line subcommands can either Write their input or Check that the input has already been modified. This type is shared between them to record that choice.

newtypenewtype Header
#

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

Constructors

Instances1Show
  • Show HeaderDefined in dhall-1.42.3 · Dhall.Parser