#

dependent-types

Dependent types and type refinement in Idris

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