Skip to content

Commit

Permalink
Fix 'reverse' on char seqs (#40).
Browse files Browse the repository at this point in the history
  • Loading branch information
slburson committed May 18, 2024
1 parent 4949109 commit 123695f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Code/wb-trees.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -5679,9 +5679,11 @@ the result, inserts `val', returning the new vector."
(cond ((null tree) nil)
((simple-vector-p tree)
(cl:reverse tree))
((stringp tree)
(cl:reverse tree))
(t
(Make-WB-Seq-Tree-Node (WB-Seq-Tree-Reverse (WB-Seq-Tree-Node-Right tree))
(WB-Seq-Tree-Reverse (WB-Seq-Tree-Node-Left tree))))))
(Make-WB-Seq-Tree-Node (WB-Seq-Tree-Reverse (WB-Seq-Tree-Node-Right tree))
(WB-Seq-Tree-Reverse (WB-Seq-Tree-Node-Left tree))))))


;;; ================================================================================
Expand Down

0 comments on commit 123695f

Please sign in to comment.