Function: haskell-align-imports-after-imports-p

haskell-align-imports-after-imports-p is a natively compiled function defined in haskell-align-imports.el.

Signature

(haskell-align-imports-after-imports-p)

Documentation

Are we after the imports list?

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-align-imports.el
(defun haskell-align-imports-after-imports-p ()
  "Are we after the imports list?"
  (save-excursion
    (goto-char (line-beginning-position))
    (let ((case-fold-search nil))
      (not (not (search-forward-regexp "\\( = \\|\\<instance\\>\\| :: \\| ∷ \\)"
                                       (line-end-position) t 1))))))