I am working my way into learning a bit of Scheme (actually, Racket) with the help of a few practical problems to solve. In this case, I want to split a flat list of symbols at a certain delimiter symbol, discarding it and returning the list of splittedsplit chunks.
So, here is my solution:
itIt does work, but I feel it's not the best way to accomplish the task, for a couple of reasons:
Also, the whole point of this excerciseexercise is learning, so please don't tell me I should use string-split or regex-split or the like. I am aware of their existence.