~/talk

Fluent APIs in Functional Languages

Talkat OOPSLA 2023 · 2023-10-23..10-27· [compilers-and-language-design]
name:Ori Roth
links:none on file
name:Yossi Gil
links:none on file
slides:none on file

Claims a way to get fluent APIs in functional languages without name overloading by using parametric polymorphism and Hindley-Milner type inference and a Church-encoding trick. Implements an SML library that embeds HTML and enforces structure and equal-column rows at compile time (so the code compiles iff the embedded document obeys the DSL grammar), covers regular and deterministic context-free protocols and beyond, and ships reusable artifacts and paper.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Authors background
  3. 3:30Core contribution
  4. 8:40Embedding HTML in SML
  5. 11:32LINQ in C comparison
  6. 13:49F# query expressions
  7. 15:57Fluent APIs type challenges
  8. 18:10Type overloading and Church encoding
  9. 19:37Summary
~/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.