Function: haskell-align-imports-chomp
haskell-align-imports-chomp is a natively compiled function defined in
haskell-align-imports.el.
Signature
(haskell-align-imports-chomp STR)
Documentation
Chomp leading and tailing whitespace from STR.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-align-imports.el
(defun haskell-align-imports-chomp (str)
"Chomp leading and tailing whitespace from STR."
(if str
(replace-regexp-in-string "\\(^[[:space:]\n]*\\|[[:space:]\n]*$\\)" ""
str)
""))