Function: haskell-string-split-to-lines

haskell-string-split-to-lines is a natively compiled function defined in haskell-string.el.

Signature

(haskell-string-split-to-lines STR)

Documentation

Split STR to lines and return a list of strings with preceding and succeeding space removed.

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-split-to-lines (str)
  "Split STR to lines and return a list of strings with preceding and
succeeding space removed."
  (when (stringp str)
    (cl-mapcar #'haskell-string-chomp (split-string str "\n"))))