A simpler encoding of indexed types

29 Mar 2021  ·  Tesla Zhang ·

In functional programming languages, generalized algebraic data types (GADTs) are very useful as the unnecessary pattern matching over them can be ruled out by the failure of unification of type arguments. In dependent type systems, this is usually called indexed types and it's particularly useful as the identity type is a special case of it... However, pattern matching over indexed types is very complicated as it requires term unification in general. We study a simplified version of indexed types (called simpler indexed types) where we explicitly specify the selection process of constructors, and we discuss its expressiveness, limitations, and properties. read more

PDF Abstract

Categories


Programming Languages D.3.3

Datasets


  Add Datasets introduced or used in this paper