Skip to content
0:00 / 0:00

#scala#scala3#dependenttypes

Scala 3: Path-Dependent Types, Methods and Functions

Rock the JVM

27K subscribers • 62 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Advanced. Deep dive for people who know the field.

4.7K views5 years ago1 recommendation

Programming languagesLanguage design and type systemsFunctional programming

How path-dependent types, dependent methods, and dependent functions work in Scala 3.

Scala 3 New Features course for Scala 2 developers: rockthejvm.com/p/scala-3-new-features Written version: blog.rockthejvm.com/scala-3-dependent-types/ This video shows how nesting types can lead to some interesting questions, problems and powers in Scala (and Scala 3 in particular). We discuss - nesting types - instance-dependent and path-dependent types - some examples where dependent types are useful - dependent methods - dependent functions (exclusive to Scala 3). Mentioned concepts/videos: Type Lambdas: youtube.com/watch?v=b1C8ybLpzUc Type-Level Programming: youtube.com/watch?v=qwUYqv6lKtQ&list=PLmtsMNDRU0ByOQoz6lnihh… How to get started with Scala 3/Dotty: Option 1: install IntelliJ IDEA at jetbrains.com/idea with the Scala plugin which offers support for Scala 3/Dotty Option 2: check the official Dotty instructions at dotty.epfl.ch/docs/usage/ide-support.html Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: blog.rockthejvm.com ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of path-dependent types and new dependent functions in Scala 3.

u/danielciocirlanin r/scala • Recommends

Path-dependent types, methods and functions in Scala (and what's new in Scala 3)