Idris2-boot/tests/ttimp/basic004
Edwin Brady a2ce8d0b7d Add as patterns
When we encounter them, not that they're a binding as normal, but also
record the thing they expand to. Then bind as a PLet, and convert that
to a Let on the RHS so it has computational force. The case tree
compiler knows about as patterns, so they get compiled to use the
appropriate name on the rhs (rather than a let).
2019-05-09 16:48:09 +01:00
..
AsPat.yaff Add as patterns 2019-05-09 16:48:09 +01:00
expected Add as patterns 2019-05-09 16:48:09 +01:00
input Add as patterns 2019-05-09 16:48:09 +01:00
run Add as patterns 2019-05-09 16:48:09 +01:00