Closed sergiotaborda closed 7 years ago
Support the Interval immutable class Support open ends Support literals . Syntax can be
1 ... 3 means [1, 3] 1 ..< 3 means [1, 3[ 1<..< 3 means ]1, 3[ 1<.. 3 means ]1, 3] 1 ... * means [ 1 , +oo [
wrong order elements like 4 .. 1 will generate empty intervals
notation changed to |[ 2 , 5 |[
Final notation is |( a , b )| for open ends and |[ a , b ]| for closed ends. They can be mixed , like |[2 , 3)| or |( 2, 4 ]|
Support the Interval immutable class
Support open ends
Support literals . Syntax can be
1 ... 3 means [1, 3] 1 ..< 3 means [1, 3[ 1<..< 3 means ]1, 3[ 1<.. 3 means ]1, 3] 1 ... * means [ 1 , +oo [
wrong order elements like 4 .. 1 will generate empty intervals