Function: haskell-sort-imports-normalize

haskell-sort-imports-normalize is a natively compiled function defined in haskell-sort-imports.el.

Signature

(haskell-sort-imports-normalize I)

Documentation

Normalize an import, if possible, so that it can be sorted.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-sort-imports.el
(defun haskell-sort-imports-normalize (i)
  "Normalize an import, if possible, so that it can be sorted."
  (if (string-match haskell-sort-imports-regexp
                    i)
      (match-string 3 i)
    i))