[ library(fd_sets) | Reference Manual | Alphabetic Index ]
intset(?Set, +Min, +Max)
Set is a set containing numbers between Min and Max
- Set
- A free variable, set variable or an integer list
- Min
- integer
- Max
- integer
Description
Unifies Set with a set variable whose lower bound is the empty set
and whose upper bound is the set of all integers between Min and Max.
Equivalent to: Set in_set_range []..[Min,Min+1,..,Max].
Exceptions
- (4) instantiation fault
- Min or Max are uninstantiated
- (5) type error
- Set is not a variable or list
See Also
intsets / 4, in_set_range / 2