mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-24 12:54:28 +03:00
ebafddcfc9
We can work out what it should be since each case is supposed to have the same type, so we can look ahead to the alternatives. This way, we don't have to rely on the scrutinee alone to calculate the type of the case block. (Idris 1 does this too but I've only just encountered the need for it in Idris 2 now!) |
||
---|---|---|
.. | ||
expected | ||
input | ||
QTT.yaff | ||
run |