Variable: haskell-indentation-type-list

haskell-indentation-type-list is a variable defined in haskell-indentation.el.

Value

(("::"
  . #[128 "\302\301\303\300\"\"\207"
	  [(#[128 "\302\301\303\300\"\"\207"
		  [(haskell-indentation-type ("->" "=>"))
		   haskell-indentation-separated apply append]
		  6 "\n\n(fn &rest ARGS2)"])
	   haskell-indentation-with-starter apply append]
	  6 "\n\n(fn &rest ARGS2)"])
 ("("
  . #[128 "\302\301\303\300\"\"\207"
	  [(haskell-indentation-type ")" ",") haskell-indentation-list
	   apply append]
	  6 "\n\n(fn &rest ARGS2)"])
 ("["
  . #[128 "\302\301\303\300\"\"\207"
	  [(haskell-indentation-type "]" ",") haskell-indentation-list
	   apply append]
	  6 "\n\n(fn &rest ARGS2)"])
 ("{"
  . #[128 "\302\301\303\300\"\"\207"
	  [(haskell-indentation-type "}" ",") haskell-indentation-list
	   apply append]
	  6 "\n\n(fn &rest ARGS2)"]))

Documentation

Alist of tokens in type declarations 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-type-list
  `(("::" .
     ,(apply-partially 'haskell-indentation-with-starter
                       (apply-partially 'haskell-indentation-separated
                                        'haskell-indentation-type '("->" "=>"))))
    ("("  .
     ,(apply-partially 'haskell-indentation-list
                       'haskell-indentation-type ")" ","))
    ("["  .
     ,(apply-partially 'haskell-indentation-list
                       'haskell-indentation-type "]" ","))
    ("{"  .
     ,(apply-partially 'haskell-indentation-list
                       'haskell-indentation-type "}" ",")))
  "Alist of tokens in type declarations with associated parsers.")