Function: haskell-string-drop-qualifier
haskell-string-drop-qualifier is a natively compiled function defined
in haskell-string.el.
Signature
(haskell-string-drop-qualifier IDENT)
Documentation
Drop qualifier from given identifier IDENT.
If the identifier is not qualified return it unchanged.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-string.el
(defun haskell-string-drop-qualifier (ident)
"Drop qualifier from given identifier IDENT.
If the identifier is not qualified return it unchanged."
(or (and (string-match "^\\([^.]*\\.\\)*\\(?1:[^.]+\\)$" ident)
(match-string 1 ident))
ident))