Function: haskell-cabal-each-line

haskell-cabal-each-line is a macro defined in haskell-cabal.el.

Signature

(haskell-cabal-each-line &rest FUN)

Documentation

Execute FORMS on each line

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-cabal.el
(defmacro haskell-cabal-each-line (&rest fun)
  "Execute FORMS on each line"
  `(save-excursion
     (while (< (point) (point-max))
       ,@fun
       (forward-line))))