| While attempting to write a function that splits sequences according to a condition, I encountered what I am pretty sure is a bug. I spent a few minutes searching for the root version, but nothing jumped out at me, and I was being forced to retire for the night. Anyway, here's a minimal version (def breaker nil
(let seq '(())
prn.seq
(push 1 car.seq)))
arc>(breaker)
(nil)
(1)
That's as expected. Future calls are not so nice.arc>(breaker)
((1))
(1 1) arc>(breaker)
((1 1))
(1 1 1) arc>(breaker)
((1 1 1))
(1 1 1 1) |