-
Notifications
You must be signed in to change notification settings - Fork 48
fix: remove/delete/substitute sequence with :end :count #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Having problems with (substitute 'b 'a #(a b a d) :count 1)
;; #(b)Will send a PR shortly. |
|
PR in furushchev#1 |
Fix count in substitute
|
@Affonso-Gui Thanks! Now both your PR to here and the test code were merged. 👍 |
|
@k-okada ping |
|
can we re-target this to |
|
Although irteusgl$ (remove 1 (vector 1 2 3 2 1) :count 1) ;; -> #()
irteusgl$ (delete 2 (vector 1 2 3 2 1) :end 2) ;; -> #(1)Considering so, it might indeed be a good idea to target |
|
@Affonso-Gui Exactly this is a bug rather than After this PR, the behavior is exactly the same as expected in the document.
(BTW, @k-okada |
|
yes but someone is already using this, let's merge into |
|
@Affonso-Gui @k-okada Changed the target branch. |
Closes #295
Test case is euslisp/jskeus#509