Explore a 20-minute conference talk from OOPSLA 2023 that delves into implementing fluent APIs in functional programming languages. Discover how researchers Ori Roth and Yossi Gil from Technion, Israel, tackle the challenge of creating elegant APIs and embedded DSLs without relying on function name overloading. Learn about their innovative approach using parametric polymorphism and Hindley-Milner type inference to enforce API protocols and DSL syntax at compile time. Gain insights into how this implementation supports fluent API protocols in regular and deterministic context-free language classes, and even beyond. Access the full article and supplementary materials to explore the reusable artifacts and evaluate the research findings. Ideal for developers and researchers interested in advanced API design, functional programming, and domain-specific languages.
Overview
Syllabus
[OOPSLA23] Fluent APIs in Functional Languages
Taught by
ACM SIGPLAN