Function: haskell-sort-imports-goto-group-start
haskell-sort-imports-goto-group-start is a natively compiled function
defined in haskell-sort-imports.el.
Signature
(haskell-sort-imports-goto-group-start)
Documentation
Go to the start of the import group.
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-goto-group-start ()
"Go to the start of the import group."
(or (and (search-backward "\n\n" nil t 1)
(goto-char (+ 2 (line-end-position))))
(when (search-backward-regexp "^module " nil t 1)
(goto-char (1+ (line-end-position))))
(goto-char (point-min))))