collect clause in progn in loop facility
Posted: Sun Sep 22, 2013 3:28 am
Suppose I have a loop form (using the loop facility) and within it is a do clause, and within the do clause is a let form, and somewhere deep within the let form are two collect clauses (like COLLECT .. INTO ..), except it's not a legal syntax to put collect clauses or any clauses in those positions. What are my options in this case?
If it were just one collect clause, I could instead put the entire let form inside a collect clause. Things seem tricky when there are two collect clauses.
I could turn the two collect clauses into two push forms but then I would be sort of reinventing the loop facility's collect feature.
If it were just one collect clause, I could instead put the entire let form inside a collect clause. Things seem tricky when there are two collect clauses.
I could turn the two collect clauses into two push forms but then I would be sort of reinventing the loop facility's collect feature.