Главная
Study mode:
on
1
Intro
2
Quotations and splices
3
Multi-stage programming: example
4
Code generation
5
Multi-stage programming and type classes
6
Multi-stage programming: well-typedness
7
Well-stagedness: the level of an expression
8
Well-stagedness: the level restriction
9
Is the problem with qpower well-stageness?
10
Well-staged type classes
11
Key idea: staged type class constraints
12
Level-indexed constraint resolution
13
How to evaluate staged programs?
14
Level-indexed Evaluation
15
Key idea: splice environments
16
Type-directed elaboration
17
Integration into GHC
Description:
Explore multi-stage programming and typed code quotation in Haskell through this conference talk from YOW! 2022. Delve into the challenges of integrating type classes with quotation in Haskell and discover a proposed solution: staged type class constraints. Learn about the formalization of this approach in a source calculus that elaborates into an explicit core calculus. Examine type soundness in both calculi and understand how well-typed, well-staged source programs are guaranteed to elaborate into well-typed, well-staged core programs. Investigate beta and eta rules for code quotations and gain insights into incorporating type classes into multi-stage programs confidently. While focused on Haskell, explore how this foundation can be applied to other languages supporting both overloading and quotation. Follow the presentation's progression from introductory concepts to advanced topics, including level-indexed constraint resolution, evaluation of staged programs, and type-directed elaboration. Read more

Staging with Class - A Specification for Typed Template Haskell

GOTO Conferences
Add to list
0:00 / 0:00