We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
char=
1 parent 618ebc3 commit 19287e1Copy full SHA for 19287e1
1 file changed
transducers/utils.lisp
@@ -70,12 +70,12 @@ separator character."
70
(declare (type fixnum start end))
71
(cond ((and (< start 0) (< end 0)) acc)
72
;; The separator was found at the very start of the string.
73
- ((and (zerop start) (eql separator (char string start)))
+ ((and (zerop start) (char= separator (char string start)))
74
(cl:cons "" (cl:cons (subseq string (1+ start) (1+ end)) acc)))
75
;; We got to the beginning without seeing another separator.
76
((zerop start) (cl:cons (subseq string start (1+ end)) acc))
77
;; Normal separator detection: collect the piece we've built.
78
- ((eql separator (char string start))
+ ((char= separator (char string start))
79
(recurse (cl:cons (subseq string (1+ start) (1+ end)) acc)
80
(1- start)
81
(1- start)))
0 commit comments