Open RyanGlScott opened 7 years ago
@RyanGlScott As far as I can see it pattern matches on the value on compile time (note {e_1}
not {e_0}
), and does no pattern matching on runtime.
Although, the error comes too early since this should be a forced pattern.
Load this into the Idris REPL:
And run
:def f
:That definition for
f
looks suspicious. If you try to actually use it:Then Idris will rightfully complain, since you can't pattern-match on
Type
s: