Variable: haskell-indentation-expression-list
haskell-indentation-expression-list is a variable defined in
haskell-indentation.el.
Value
Large value
(("data" . haskell-indentation-data)
("type" . haskell-indentation-data)
("newtype" . haskell-indentation-data)
("if" . haskell-indentation-if)
("let"
. #[128 "\302\301\303\300\"\"\207"
[((haskell-indentation-declaration-layout "in"
haskell-indentation-expression))
haskell-indentation-phrase apply append]
6 "\n\n(fn &rest ARGS2)"])
("do"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression-layout)
haskell-indentation-with-starter apply append]
6 "\n\n(fn &rest ARGS2)"])
("mdo"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression-layout)
haskell-indentation-with-starter apply append]
6 "\n\n(fn &rest ARGS2)"])
("rec"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression-layout)
haskell-indentation-with-starter apply append]
6 "\n\n(fn &rest ARGS2)"])
("case"
. #[128 "\302\301\303\300\"\"\207"
[((haskell-indentation-expression "of"
haskell-indentation-case-layout))
haskell-indentation-phrase apply append]
6 "\n\n(fn &rest ARGS2)"])
("\\"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-lambda-maybe-lambdacase)
haskell-indentation-with-starter apply append]
6 "\n\n(fn &rest ARGS2)"])
("proc"
. #[128 "\302\301\303\300\"\"\207"
[((haskell-indentation-expression "->"
haskell-indentation-expression))
haskell-indentation-phrase apply append]
6 "\n\n(fn &rest ARGS2)"])
("where"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-declaration-layout nil t)
haskell-indentation-with-starter apply append]
6 "\n\n(fn &rest ARGS2)"])
("::" . haskell-indentation-scoped-type)
("="
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression)
haskell-indentation-statement-right apply append]
6 "\n\n(fn &rest ARGS2)"])
("<-"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression)
haskell-indentation-statement-right apply append]
6 "\n\n(fn &rest ARGS2)"])
("("
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression ")" (list "," "->"))
haskell-indentation-list apply append]
6 "\n\n(fn &rest ARGS2)"])
("["
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression "]" "," "|")
haskell-indentation-list apply append]
6 "\n\n(fn &rest ARGS2)"])
("{"
. #[128 "\302\301\303\300\"\"\207"
[(haskell-indentation-expression "}" ",")
haskell-indentation-list apply append]
6 "\n\n(fn &rest ARGS2)"]))
Documentation
Alist of keywords in expressions with associated parsers.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-indentation.el
(defconst haskell-indentation-expression-list
`(("data" . haskell-indentation-data)
("type" . haskell-indentation-data)
("newtype" . haskell-indentation-data)
("if" . haskell-indentation-if)
("let" .
,(apply-partially 'haskell-indentation-phrase
'(haskell-indentation-declaration-layout
"in" haskell-indentation-expression)))
("do" .
,(apply-partially 'haskell-indentation-with-starter
'haskell-indentation-expression-layout))
("mdo" .
,(apply-partially 'haskell-indentation-with-starter
'haskell-indentation-expression-layout))
("rec" .
,(apply-partially 'haskell-indentation-with-starter
'haskell-indentation-expression-layout))
("case" .
,(apply-partially 'haskell-indentation-phrase
'(haskell-indentation-expression
"of" haskell-indentation-case-layout)))
("\\" .
,(apply-partially 'haskell-indentation-with-starter
'haskell-indentation-lambda-maybe-lambdacase))
("proc" .
,(apply-partially 'haskell-indentation-phrase
'(haskell-indentation-expression
"->" haskell-indentation-expression)))
("where" .
,(apply-partially 'haskell-indentation-with-starter
'haskell-indentation-declaration-layout nil t))
("::" . haskell-indentation-scoped-type)
("=" .
,(apply-partially 'haskell-indentation-statement-right
'haskell-indentation-expression))
("<-" .
,(apply-partially 'haskell-indentation-statement-right
'haskell-indentation-expression))
("(" .
,(apply-partially 'haskell-indentation-list
'haskell-indentation-expression
")"
'(list "," "->")))
("[" .
,(apply-partially 'haskell-indentation-list
'haskell-indentation-expression "]" "," "|"))
("{" .
,(apply-partially 'haskell-indentation-list
'haskell-indentation-expression "}" ",")))
"Alist of keywords in expressions with associated parsers.")