Iowa Type Theory Commute
Iowa Type Theory Commute
Aaron Stump
Jan 16, 2020 · 11 min

Programming with indexed types using singletons

MP3

Basic idea of using singleton types like Nat n where n is a value from the index domain, to connect program expressions and index expressions.  The data value of type Nat n is a copy of n, but living in the syntactic category of program expressions.  This allows programs to operate on a proxy for n.  Singletons library in Haskell mentioned.

This podcast uses Buzzsprout for stats. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.