I have generalised the composition operator ++ to plain sequences and added an element-of operator <- on sequences (which renders as ∈). With that, it's possible to use sequences, i.e. lists, as sets, using ++ for union.
We may want to customise notation to something a little bit more set-looking for the spec document, but that can be done with hints:
I have generalised the composition operator
++
to plain sequences and added an element-of operator<-
on sequences (which renders as ∈). With that, it's possible to use sequences, i.e. lists, as sets, using++
for union.We may want to customise notation to something a little bit more set-looking for the spec document, but that can be done with hints: