Kotlin's `it` is not a function. It's a default argument https://kotlinlang.org/docs/reference/lambdas.html#it-implicit-name-of-a-single-parameter
Please do not invent new names. It will only get worse понедельник, 8 июля 2019 г., 4:33:17 UTC+3 пользователь Rich Morin написал: > > > On Jul 2, 2019, at 02:23, Alexey Nikitin <[email protected] > <javascript:>> wrote: > > > > Like Haskell's `id` or Clojure's `identity` or Ruby's `itself` > > In the spirit of bikeshedding, I'll submit that Clojure's `identity` > takes up too much space for my taste. So, I prefer Haskell's `id` or > perhaps Kotlin's `it`. > > -r > > > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/ea64c4f1-27e0-46e8-9e2a-c0cebc8a2728%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
