#

existential-types

Existential types and sigma types in dependently typed languages

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