-
Notifications
You must be signed in to change notification settings - Fork 13
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
Can define operator '.', but it doesn't parse #23
Comments
Ok, fixed. Nice little dictionary. tpl |
I don't know whether Also I have edited the source code just now. In case Its mod/2 now:
|
That was located out of sight, Jean-Luc.
|
Parsing "is" as a consult was a mistake.
…On Wed, Aug 24, 2022 at 1:05 AM flexoron ***@***.***> wrote:
That was located out of sight, Jean-Luc.
Thank you for this impulse: X = (Y is B+_)
$ cat is.pl
{_ is _+1}.
{_ is _+2}.
{_ is _+3}.
{_ is _+4}.
{_ is _+5}.
main :- between(1,5,N), call_nth({X}, N),
X = (Y is B+_),
write('+'), between(1,3,B), X, writeq(Y), fail.
$ tpl
?- "is".
true.
?- main.
+234+345+456+567+678 false.
?-
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSER5EQZCPJI7L3TZSYLV2TSCVANCNFSM57JCK5LA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I can consult and run it now. |
Tried to run this:
But I got errors:
If Trealla cannot parser operator '.', wouldn't it make more sense to
throw already an error during op/3.
The text was updated successfully, but these errors were encountered: