Function: haskell-indentation-push-indentation
haskell-indentation-push-indentation is a natively compiled function
defined in haskell-indentation.el.
Signature
(haskell-indentation-push-indentation INDENT)
Documentation
Add INDENT to list of possible indentations.
Add INDENT to possible-indentations if it is not there
yet. Keep the list in ascending order.
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-push-indentation (indent)
"Add INDENT to list of possible indentations.
Add INDENT to `possible-indentations' if it is not there
yet. Keep the list in ascending order."
(unless (member indent possible-indentations)
(setq possible-indentations
(sort (cons indent possible-indentations) #'<))))