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
Main: Qlzqqlzuup.hs:(215,9)-(236,42): Non-exhaustive patterns in function qForEach #1
Comments
Well, the more important thing than Turing-completeness or lack thereof would be that the interpreter implements some language other than what's described in the spec... And it doesn't seem to be on any cyclic list, because if I try the program given in the README:
I get a different error:
So there may in fact be more than one problem here. Can you provide the Quylthulg program you tried that gave you your error message? EDIT: for bonus points, if you could phrase it in the form of a PR that adds a test case based on your Quylthulg program to |
On that one, the
(That should be fixed in the |
Thanks. Yes, when I started investigating I noticed the syntax error there too, which I will fix in the README as part of this. The real problem seems to be that both labels and |
The last few commits ought to have fixed the problem: b6c9f58...a79f8fd In particular, this example program takes the "first 5" elements of a cyclic list. While writing the new test cases, I was a bit worried that Quylthulg is not actually Turing-complete, but I seem to have since re-convinced myself that it is. The snags are:
|
This error is generated when trying
foreach
on any cyclic list, causing the interpreter as it stands to be Turing-incomplete.The text was updated successfully, but these errors were encountered: