[ library(ic_sets) | Reference Manual | Alphabetic Index ]
intset(?Set, +Min, +Max)
Set is a set containing numbers between Min and Max
- A free variable, set variable or an integer list
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].
- (4) instantiation fault
- Min or Max are uninstantiated
- (5) type error
- Set is not a variable or list
intsets / 4, in_set_range / 2