-
Notifications
You must be signed in to change notification settings - Fork 12
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
Likely simple bugs to fix in the format/2-3 predicates #37
Comments
Hi Paulo,
Bug in the implementation of ~c (code): the following calls are expected to print an A:
| ?- format("~c", [65]).
yes
| ?- format('~c', [65]).
yes
In this case, I don’t think there's a bug:
| ?- format("~c", [65]), flush_output.
A
yes
cheers,
-spa
|
Hi Salvador. Interesting. But other Prolog systems don't require a call to |
Additionally, the test definition implicitly closes the output stream, which is expected to flush any pending output. |
didoudiaz
added a commit
that referenced
this issue
Jun 7, 2023
modify pl-state handling (and related built-in) add consult/2 upodate doc
Fixes confirmed. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug in the implementation of
~c
(code): the following calls are expected to print anA
:Bug in the implementation of
~i
(ignore): the following calls are expected to omit the middle argument and thus printac
:The text was updated successfully, but these errors were encountered: