vamp-ir icon indicating copy to clipboard operation
vamp-ir copied to clipboard

Issue with Vamp-IR tuples

Open CarloModicaPortfolio opened this issue 1 year ago • 1 comments

"(" and ")" are not in fact needed to write tuples with Vamp-IR. For instance:

def a = 1,2,3,4,5;
def b = (1,2,3,4,5);
a = b;

gives a valid proof

CarloModicaPortfolio avatar May 11 '23 15:05 CarloModicaPortfolio

I don't think this is a real issue. As it stands, , is a left-associative binary operation that produces a tuple. Unless that causes problems, I don't see any reason why parens would have to be enforced.

AHartNtkn avatar May 22 '23 23:05 AHartNtkn