Skip to content
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

Unprocessed form tail error from CL:LOOP #1614

Open
pamoroso opened this issue Mar 25, 2024 · 3 comments
Open

Unprocessed form tail error from CL:LOOP #1614

pamoroso opened this issue Mar 25, 2024 · 3 comments

Comments

@pamoroso
Copy link
Contributor

The Medley implementation of Common Lisp loop doesn't support nested iterations and returns the error Loop form tail (...) remained unprocessed. for such clauses. A test case is available.

This was discovered when evaluating the compatibility of Medley Common Lisp with ANSI Comon Lisp as part of issue #609, specifically by testing the condition system code of the book Practical Common Lisp as described in discussion #1613.

@tfeb
Copy link
Contributor

tfeb commented Mar 25, 2024

See my comment to #1613 which probably belongs here: loop doesn't do nested iteration and I think the implementation is correct with regards to #1613: the code is wrong in other words. I may be wrong in that case but certainly loop does not do nested iteration.

@pamoroso pamoroso changed the title CL:LOOP doesn't support nested iterations Unprocessed form tail error from CL:LOOP Mar 25, 2024
@pamoroso
Copy link
Contributor Author

Thanks, I renamed the issue "Unprocessed form tail error from CL:LOOP".

@tfeb
Copy link
Contributor

tfeb commented Mar 25, 2024

@pamoroso While I think (same caveat as before!) that the error message is unhelpful it is, I think correct: presumably what it's saying is 'I was a state where I expected an x but I saw a y and gave up'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants