Does anyone know why Idris 2 can’t figure this out? I have to explicitly tell it that xs matches _::_, even though it knows xs can’t match Nil (because it’s in the wrong case)
(This also happens with case..of)
was working on for Aya?
For this specific issue, you might need to help Idris along by matching on the implicit `n` parameter. This might let you remove the redundant case. https://twitter.com/OwoTizusa/status/1461181965923725317…