#

type-theory

Type systems, proofs, and existential quantification

ProgrammingIdris Pattern Matching with Existential Types Explained

Understand how Idris' type checker handles pattern matching on existential types like EqNat. Learn why replacing Just (Same _) with Just _ causes type mismatch errors, even with single constructors, and how to refine dependent goals properly.

1 answer 1 view