oh and you should be careful when using the term "...
# intellij
k
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"