Idris2-boot/tests/ttimp/basic004/run
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

4 lines
36 B
Plaintext
Executable File

$1 AsPat.yaff < input
rm -rf build