Function: haskell-indentation-deriving
haskell-indentation-deriving is a natively compiled function defined
in haskell-indentation.el.
Signature
(haskell-indentation-deriving)
Documentation
Parse standalone 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-deriving ()
"Parse standalone declaration."
(haskell-indentation-with-starter
(lambda ()
(when (string= "instance" current-token)
(haskell-indentation-read-next-token))
(when (equal current-token 'end-tokens)
(haskell-indentation-add-left-indent)
(throw 'parse-end nil))
(haskell-indentation-type)
(when (string= current-token "|")
(haskell-indentation-fundep)))))