Function: haskell-indentation-class-declaration
haskell-indentation-class-declaration is a natively compiled function
defined in haskell-indentation.el.
Signature
(haskell-indentation-class-declaration)
Documentation
Parse class declaration.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-indentation.el
(defun haskell-indentation-class-declaration ()
"Parse class declaration."
(haskell-indentation-with-starter
(lambda ()
(haskell-indentation-type)
(when (string= current-token "|")
(haskell-indentation-fundep))
(when (string= current-token "where")
(haskell-indentation-with-starter
#'haskell-indentation-declaration-layout nil)))))