coquedille icon indicating copy to clipboard operation
coquedille copied to clipboard

Smarter fresh name generator

Open pedrotst opened this issue 5 years ago • 0 comments

Add a new variable to the environent fresh_ctx := alist Ced.Var nat that will count the number of occurrences of a variable in the term, now the fresh variable generator just have to check if it is mentioned, increment the count if it is and return the name appended with the corresponding count (if any).

pedrotst avatar Apr 18 '20 02:04 pedrotst