Kotlin’s way to make DSLs and many standard library functions work
Kotlin Function Literals with Receiver — The basis for DSLs and many Library Functions
Published in
4 min readSep 8, 2022
As we know, Kotlin makes heavy use of functions that take other functions as their argument. This is one of two types of functions we call higher-order function. Related to this, Kotlin also comes with…