Add support for let bindings and as patterns
jmchapman opened this issue · comments
Add support for let bindings and as patterns
This close to impossible to support with the current architecture of Agda: as
patterns are treated as let
-bindings, and let-bindings are inlined eagerly in the internal syntax. So we would have to somehow reconstruct which terms correspond to a let-bound variable.
Actually, let-bindings do not work either, for the same reason.
Related: agda/agda#7253