We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
SEQ_CONCAT (n-ary)
concat [[a], [b], c] [d] [e, f] is [[a], [b], c, d, e, f]
Can be run backwards as long as there's only one free variable (prefix/postfix matching)
SEQ_FLATTEN (1-ary)
flatten [[a], [[[[b]]]], c] is [a, b, c]
Can't be run backwards
SEQ_INDEX (2-ary)
index [a, b, c, d] 2 is c
can be run backwards in mode + - is -, which gives the set interpretation of a sequence.
a X :- index [1, 8, 21, 8] _ is X b X Y :- index [1, 8, 21, 8] X is Y
Means we derive a 1, a 8, a 21 and b 0 1, b 1 8, b 2 21, b 3 8.
a 1
a 8
a 21
b 0 1
b 1 8
b 2 21
b 3 8
SEQ_UPDATE (3-ary)... maybe spin this off to a separate ticket?
update [a,b,c,d] 2 e is [a, b, e, d]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
SEQ_CONCAT (n-ary)
concat [[a], [b], c] [d] [e, f] is [[a], [b], c, d, e, f]
Can be run backwards as long as there's only one free variable (prefix/postfix matching)
SEQ_FLATTEN (1-ary)
flatten [[a], [[[[b]]]], c] is [a, b, c]
Can't be run backwards
SEQ_INDEX (2-ary)
index [a, b, c, d] 2 is c
can be run backwards in mode + - is -, which gives the set interpretation of a sequence.
Means we derive
a 1
,a 8
,a 21
andb 0 1
,b 1 8
,b 2 21
,b 3 8
.SEQ_UPDATE (3-ary)... maybe spin this off to a separate ticket?
update [a,b,c,d] 2 e is [a, b, e, d]
The text was updated successfully, but these errors were encountered: