Closed clayrat closed 7 years ago
Ok, I think I've figured out the Reflect
thing - it seems to work if you define it as
data Reflect : (p : Type) -> (b : Bool) -> Type where
ReflectT : p -> (b=True) -> Reflect p b
ReflectF : (Not p) -> (b=False) -> Reflect p b
Ready for review
Thanks! I'll take a look today.
This is looking pretty good. I'm gonna merge it now and then PR some edits for you.
Feels like I'm stuck at
filter_not_empty_In'
here. First I constructReflect
usingbeq_natP {n} {m=x}
, but when I try to match on it (either viacase
orwith
), I get (assuming the false case first):