Variable: haskell-font-lock-keywords

haskell-font-lock-keywords is a customizable variable defined in haskell-font-lock.el.

Value

("case" "class" "data" "default" "deriving" "do" "else" "if" "import"
 "in" "infix" "infixl" "infixr" "instance" "let" "module" "mdo"
 "newtype" "of" "rec" "pattern" "proc" "signature" "then" "type"
 "where" "_" "anyclass" "stock" "via")

Documentation

Identifiers treated as reserved keywords in Haskell.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-font-lock.el
(defcustom haskell-font-lock-keywords
  ;; `as', `hiding', and `qualified' are part of the import
  ;; spec syntax, but they are not reserved.
  ;; `_' can go in here since it has temporary word syntax.
  '("case" "class" "data" "default" "deriving" "do"
    "else" "if" "import" "in" "infix" "infixl"
    "infixr" "instance" "let" "module" "mdo" "newtype" "of"
    "rec" "pattern" "proc" "signature" "then" "type" "where" "_"
    "anyclass" "stock" "via")
  "Identifiers treated as reserved keywords in Haskell."
  :group 'haskell-appearance
  :type '(repeat string))