A{c1}B{c2}C = A{c1}B,B{c2}C
You can chain comparisons.
The central operand will implicitly serve as
the right-hand side of the left,
and the left-hand side of the right comparison,
both will be linked by a Boolean and.
a<b<c = a<b,b<c
a>b=c#d = a>b,b=c,c#d