News for hackers. Stuff that matters.
Re:Learn Kotlin in Y Minutes by kodablah on Thursday May 18, 2017 @03:45PM (#14370450)
You'd use nested let clauses and name the param instead of using the implicit "it"
Re:Learn Kotlin in Y Minutes by meddlepal on Thursday May 18, 2017 @04:05PM (#14370647)
Or just write a function to accomplish the same behavior: http://stackoverflow.com/a/35522422/364135

Would be nice if there was a multiLet in the stdlib. Probably something that happens eventually anyways.