HigherOrderCO / Kind

A modern proof language
https://higherorderco.com
MIT License
3.58k stars 142 forks source link

Fix infinite loop #357

Closed algebraic-dev closed 2 years ago

algebraic-dev commented 2 years ago

It fixes the infinite loop by adding the variables bound by the pattern in the vars vector (it is not modified inside the pattern because patterns cannot have Lambdas, Pi types or Lets inside of them)