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.Parser.Expression

Parsing Dhall expressions.

  • 2 types
  • 23 values
  • Packagedhall-1.42.3
  • Exports25
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceExpression.hs
valuecompleteExpression :: Parser a -> Parser (Expr Src a)
#

Parse a complete expression (with leading and trailing whitespace)

This corresponds to the complete-expression rule from the official grammar

valueimportExpression :: Parser a -> Parser (Expr Src a)
#

Parse an "import expression"

This is not the same thing as fmap Embed. This parses any expression of the same or higher precedence as an import expression (such as a selector expression). For example, this parses (1)

This corresponds to the import-expression rule from the official grammar

valuefullDate :: Parser (Expr s a)
#

Parse a Date

This corresponds to the full-date rule from the official grammar

valueshebang :: Parser ()
#

Parse a "shebang" line (i.e. an initial line beginning with #!)

valueenv :: Parser ImportType
#

Parse an environment variable import

This corresponds to the env rule from the official grammar

valuelocal :: Parser ImportType
#

Parse a local import

This corresponds to the local rule from the official grammar

valuehttp :: Parser ImportType
#

Parse an HTTP(S) import

This corresponds to the http rule from the official grammar