https://kotlinlang.org logo
k

kirillrakhman

01/09/2017, 3:06 PM
oh and you should be careful when using the term "SAM". in kotlin it refers to java interfaces with a single method that can be implemented by a lambda. in the case of
() -> T
and friends, the correct term is "function types"