Function: haskell-complete-module-component

haskell-complete-module-component is a natively compiled function defined in haskell-complete-module.el.

Signature

(haskell-complete-module-component COMPONENT)

Documentation

Make a regular expression for the given component. Example:

"co" -> "c[^.]*o[^.]*"

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-complete-module.el
(defun haskell-complete-module-component (component)
  "Make a regular expression for the given component. Example:

\"co\" -> \"c[^.]*o[^.]*\"

"
  (replace-regexp-in-string "\\(.\\)" "\\1[^.]*" component))