Function: haskell-cabal-ignore-line-p

haskell-cabal-ignore-line-p is a natively compiled function defined in haskell-cabal.el.

Signature

(haskell-cabal-ignore-line-p)

Documentation

Does line only contain whitespaces and comments?

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-cabal.el
(defun haskell-cabal-ignore-line-p ()
  "Does line only contain whitespaces and comments?"
  (save-excursion
    (beginning-of-line)
    (looking-at "^[ \t]*\\(?:--.*\\)?$")))