Hello,
I'm trying to use compact interval.
ex:
[1,2,3,4,5,6,7,8,9] -> [1...9]
[1,2,3,10,11,12,30] -> [1...3,10...12,30]
I search a way to decompact an interval in this way and to compact it, to do such operation as union, intersection etc.
ex : union([1...3,10,12],[4,12...13,],L) ->...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.