Eta-expansion and Partially Applied Functions in Scala | Rock the JVM
ฝัง
- เผยแพร่เมื่อ 15 ก.ย. 2024
- Written version: blog.rockthejv...
In this video, we'll talk about the concept of Eta-expansion, which allows the conversion of methods to functions in Scala (spoiler: they are different). This concept is loosely explained in online communities. We'll then use eta-expansion to cover another topic and a useful Scala pattern, which is partially-applied functions, or the process of turning methods of multiple argument lists into curried higher-order functions.
Follow Rock the JVM on:
LinkedIn: / rockthejvm
Twitter: / rockthejvm
Blog: rockthejvm.com...
-------------------------------------------------------------------------
Home: rockthejvm.com
-------------------------------------------------------------------------