Function: haskell-indentation-indent-region

haskell-indentation-indent-region is a natively compiled function defined in haskell-indentation.el.

Signature

(haskell-indentation-indent-region START END)

Documentation

This function does nothing.

It is better to do nothing to indent region in Haskell than to break the semantics of indentation. This function is used for indent-region-function because the default is to call indent-line-function on every line from START to END and that also produces catastrophic results.

Someday we will have indent region that preserves semantics and fixes up only indentation.

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-indent-region (_start _end)
  "This function does nothing.

It is better to do nothing to indent region in Haskell than to
break the semantics of indentation.  This function is used for
`indent-region-function' because the default is to call
`indent-line-function' on every line from START to END and that
also produces catastrophic results.

Someday we will have indent region that preserves semantics and
fixes up only indentation."
  nil)