We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb2ec99 + 327e16e commit a515d66Copy full SHA for a515d66
haskell-sort-imports.el
@@ -30,6 +30,8 @@
30
31
;;; Code:
32
33
+(require 'cl-lib)
34
+
35
(defvar haskell-sort-imports-regexp
36
(concat "^import[ ]+"
37
"\\(qualified \\)?"
@@ -55,7 +57,7 @@ within that region."
55
57
(haskell-sort-imports-goto-group-start))
56
58
(let* ((start (point))
59
(imports (haskell-sort-imports-collect-imports))
- (sorted (sort (copy-list imports)
60
+ (sorted (sort (cl-copy-list imports)
61
(lambda (a b)
62
(string< (haskell-sort-imports-normalize a)
63
(haskell-sort-imports-normalize b))))))
0 commit comments