~/talk

What is macro-compat

Talkat Typelevel Summit Oslo 2016 · on Wednesday, 2016-05-04· [scala]
slides:none on file

Macro-compat lets code written against the newer Scala macro APIs (2.11/2.12 macro bundles, untyped trees, freshName, symbolOf) compile on Scala 2.10 by rewriting bundles into object-style macros and inserting compatibility shims. Use it by adding the macro-compat artifact plus macro-paradise and annotate with @bundle; the plugin boxes trees into expressions and unboxes expressions to trees, forwards renamed APIs, and keeps binary stability via MiMa so a single codebase supports multiple Scala versions.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Outline
  3. 1:01Who am I
  4. 1:20Macros
  5. 2:17Scala macros
  6. 3:40API changes
  7. 5:05Macro bundles
  8. 6:19Untyped trees
  9. 7:03Different versions
  10. 9:14Overview
  11. 10:44Add to build
  12. 11:42How does it work
  13. 13:07Conclusion
~/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.