Open jfehrle opened 2 years ago
To your second point, that's not a bug, that's because goals that are not explicitly named cannot be referred using the printed named. Turning this into usability (which I think better reflect the issue that you are highlighting).
What would be a good way to print them? ?foo
is the syntax to refer to named evar and should probably be reserved for those with real names.
?[foo]
produces an evar with name foo
and errors if the name is already used
?[?foo]
produces an evar with a fresh name based on foo
I guess ?[?foo]
could be OK? It doesn't feel great though.
The printed representation has to be parsable? Square brackets in Print Existentials
make sense because that's how you create a named goal. ?[?foo]
makes sense though it does look a little odd.
Also, this fails: