Function: haskell-font-lock-dot-is-not-composition

haskell-font-lock-dot-is-not-composition is a natively compiled function defined in haskell-font-lock.el.

Signature

(haskell-font-lock-dot-is-not-composition START)

Documentation

Return non-nil if the "." at START is not a composition operator.

This is the case if the "." is part of a "forall <tvar> . <type>".

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-font-lock.el
(defun haskell-font-lock-dot-is-not-composition (start)
  "Return non-nil if the \".\" at START is not a composition operator.
This is the case if the \".\" is part of a \"forall <tvar> . <type>\"."
  (save-excursion
    (goto-char start)
    (or (re-search-backward "\\<forall\\>[^.\"]*\\="
                            (line-beginning-position) t)
        (not (or
              (string= " " (string (char-after start)))
              (null (char-before start))
              (string= " " (string (char-before start))))))))