User loginNavigation |
archiveseWeek: 'Exotic' Programming Tools Go Mainstream
I'll let you draw your own conclusions about this article... Programming Languages: Application and InterpretationA new release of Shriram Krishnamurthi's programming languages book is available. Constraint-based type inference for guarded algebraic data typesConstraint-based type inference for guarded algebraic data types
By Paul Snively at 2006-02-07 15:16 | Functional | Implementation | Type Theory | login or register to post comments | other blogs | 5696 reads
A constraint-based approach to guarded algebraic data typesA constraint-based approach to guarded algebraic data types
By Paul Snively at 2006-02-07 15:18 | Functional | Implementation | Type Theory | login or register to post comments | other blogs | 6132 reads
How are GADTs useful in practical programming?GADTs are obviously currently a hot topic in functional programming research. Most of the papers focus only on the GADT mechanism (how type checking works etc.). The only example that one usually sees is the "typed evaluator". I am not an expert on this topic, and I'd like to know more about how they would actually be useful in practical programming. For example, I wonder how a parser would look like if it is impossible to construct "wrong" ASTs. Would type checking then effectively take place during parsing? How would a type error in the parsed program be detected and thrown? What other interesting applications exist? In general, how do GADTs change the programming model? |
Browse archivesActive forum topics |
Recent comments
23 weeks 3 hours ago
23 weeks 6 hours ago
23 weeks 7 hours ago
45 weeks 1 day ago
49 weeks 3 days ago
51 weeks 14 hours ago
51 weeks 14 hours ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago