Function: haskell-mode--inhibit-bracket-inside-comment-or-default

haskell-mode--inhibit-bracket-inside-comment-or-default is a natively compiled function defined in haskell-mode.el.

Signature

(haskell-mode--inhibit-bracket-inside-comment-or-default CH)

Documentation

An electric-pair-mode(var)/electric-pair-mode(fun) inhibit function for character CH.

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--inhibit-bracket-inside-comment-or-default (ch)
  "An `electric-pair-mode' inhibit function for character CH."
  (or (nth 4 (syntax-ppss))
      (funcall #'electric-pair-default-inhibit ch)))