LPCIC / elpi

Embeddable Lambda Prolog Interpreter
GNU Lesser General Public License v2.1
273 stars 32 forks source link

avoid infinite loop when calling rev with flex term #236

Closed FissoreD closed 1 month ago

FissoreD commented 1 month ago

before:

main :-
  std.rev A B. % Here infinite loop

now: when $1^{st}$ arg of std.rev is flex, modes correctly prevents the loop