Más contenido relacionado
La actualidad más candente (20)
Similar a [2021] kotlin built-in higher-order functions (20)
[2021] kotlin built-in higher-order functions
- 2. Who am I
Andy Lu
Android Engineer in FutureDial
第二屆 Kotlin 讀書會導讀者
❤ Kotlin
❤ Flutter
Medium: https://medium.com/@andyludeveloper
2
- 12. How to use higher-order function?
Ex: { a, b -> a+b }
● { }
● Parameters (a, b)
● Body (after ->)
12
- 46. Three types of functions
46
Transform
map zip
flatten ...
Filter
filter
partition
...
Combine
fold
reduce
max
sum
...