~/talk

Intensional Analysis of Typed Template Haskell Quotations

links:none on file
links:none on file
slides:none on file

A system desugars Typed Template Haskell quotations into a well-typed PHOAS AST so quoted expressions become inspectable and transformable rather than opaque, implemented as a GHC extension prototype. It exposes variables, lambdas and patterns for optimizers, serialization and EDSL backends, but requires adds external-variable parameter E to handle open terms, uses generics for constructors, must record binder types for safe decoding, and needs nontrivial type‑checker changes; a minimal proof‑of‑concept exists.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Limitations of opaque quotations
  3. 3:42Goals for transparent representations
  4. 6:59Parametric higher-order abstract syntax with PHZ
  5. 8:43Identity interpretation
  6. 10:52Open terms in quotations
  7. 13:41Constructors and pattern matching
  8. 15:25Preserving type info
  9. 16:46Type checker challenges
  10. 17:47Future work
  11. 18:36Comparison with Core
  12. 20:02Implementation status
  13. 21:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.