An interval m..n is a set of integers even when m and n are not assumed to be placeholders for integers.
If they are not, then the interval is empty.
More complicated cases:
p(X) :- X = (1..5) + (9..12).
p(X) :- X = 1..(5 + 9)..12.
q(X) :- X = 1..7..5.
An interval `m..n` is a set of integers even when `m` and `n` are not assumed to be placeholders for integers.
If they are not, then the interval is empty.
More complicated cases:
p(X) :- X = (1..5) + (9..12).
p(X) :- X = 1..(5 + 9)..12.
q(X) :- X = 1..7..5.
patrick
added this to the anthem 0.1.9 milestone 2018-04-22 13:34:27 +02:00
patrick
self-assigned this 2018-04-22 13:34:27 +02:00
I reimplemented the integer check methods to determine the correct type (consisting of domain {integer, noninteger, unknown} × set size {empty, unit, multi, unknown}).
I reimplemented the integer check methods to determine the correct type (consisting of domain {integer, noninteger, unknown} × set size {empty, unit, multi, unknown}).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
An interval
m..nis a set of integers even whenmandnare not assumed to be placeholders for integers.If they are not, then the interval is empty.
More complicated cases:
I reimplemented the integer check methods to determine the correct type (consisting of domain {integer, noninteger, unknown} × set size {empty, unit, multi, unknown}).