AI Engineer - Learn how to integrate AI into software applications
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore polymorphic function types in Scala 3 through this in-depth conference talk from Scala Days 2023 Seattle. Dive into the evolution of function representation in Scala, from traditional FunctionN classes to the new polymorphic function types. Learn how these advanced types enable the creation of functions with type parameters, overcoming previous limitations. Discover practical use cases, implementation details, and recent compiler improvements that enhance their usability. Gain insights into the interaction of polymorphic function types with other language features, and explore potential future enhancements. Suitable for Scala developers looking to leverage the full power of Scala 3's type system and functional programming capabilities.
Syllabus
Intro
Method references
Example usecase
Taking a step back
Type erasure (2/2)
Example 2: Preserving type information
Encapsulation
Polymorphic eta-expansion (1/2)
Idea 2: type parameter clause inference + eta-expansion
Better subtyping
Taught by
Scala Days Conferences