RPL 2.0: review '&' operator
Hi,
'/' is the choice (or) operator. Naturally everybody beliefs that '&' is the sequence (and) operator, with a use case in disjunctions [a b & c]
. But wrong: a & b
translates into {>a b}
. Looking through the lib and examples then it is hardly used. I guess for good reason: hardly anybody will remember the special meaning of &
, and make wrong assumptions about a pattern. It makes the pattern less readable / comprehendable.
Am I misinterpreting the &
operator?
With my limited RPL experience, I would like to suggest that &
becomes what probably everybody intuitively beliefs it does: a sequence (and) of 2 patterns.