EPISODE · Jan 20, 2020 · 14 MIN
Using GADTs for typed subsetting of your language
from Iowa Type Theory Commute · host Aaron Stump
One use case for GADTs (as a special case of dependent types) is to form a typed subset of your host language. One creates an EDSL called Expr a, where a is a type of the language (say this language is Haskell). Values of types Expr a are the abstract syntax trees of expressions of type a from your host language. This is just a special case of embedding a typed language into your host language: in this case the typed language is a subset of your host language.
Embed this episode
NOW PLAYING
Using GADTs for typed subsetting of your language
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.