Function: haskell-mode--looking-at-varsym

haskell-mode--looking-at-varsym is a natively compiled function defined in haskell-mode.el.

Signature

(haskell-mode--looking-at-varsym)

Documentation

Return t when point stands at operator symbol.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-mode.el
(defun haskell-mode--looking-at-varsym ()
  "Return t when point stands at operator symbol."
  (when (not (eobp))
    (let ((lex (haskell-lexeme-classify-by-first-char (char-after))))
      (or (eq lex 'varsym)
          (eq lex 'consym)))))