Idris2-boot/tests/ttimp/basic004/input
Edwin Brady ea0de3d499 Initial implementation of 'case' blocks
It's not quite there yet, though, because the treatment of 'as' patterns
isn't quite right and the slightly hacky approach we're taking might not
be the best. Rethinking now...
2019-05-17 13:52:09 +01:00

6 lines
71 B
Plaintext

simpleAs (S (S Z))
as Z
as (S (S (S Z)))
pairPred (S (S (S (S Z))))
:q