Главная
Study mode:
on
1
Intro
2
Miles Sabin
3
Shapeless
4
Previously on Daniel...
5
Context-Independence
6
Type Level Functions
7
Context-Dependence
8
Roadmap
9
HList#remove
10
Implementation
11
"Out" Types
12
WARNING
13
Remover
14
HList#map
15
Implicits!
16
Downsides
17
Exercise 3.1
18
Peano Arithmetic
19
Macros
20
Conclusion
Description:
Explore the inner workings of Shapeless, a powerful Scala framework, in this 49-minute conference talk from Scala Days New York 2016. Dive deep into the tools and techniques used to create Shapeless, learning how to harness the full potential of Scala's type system without relying on macro programming. Discover how to represent complex constraints and generalize code over broad structural classes. Follow along as the speaker recreates major elements of Shapeless, focusing on understanding the general patterns and ideas behind its implementation. Cover topics such as context-independence, type-level functions, HList operations, implicits, and Peano arithmetic. Gain insights into the challenges and downsides of these approaches, and participate in practical exercises to reinforce your understanding. By the end of this talk, acquire the knowledge to leverage advanced type system features in your own Scala projects, unlocking new levels of expressiveness in your code.

Roll Your Own Shapeless

Scala Days Conferences
Add to list
0:00 / 0:00