https://kotlinlang.org logo
#ktor
Title
# ktor
w

warriorprincess

03/07/2018, 4:12 PM
just a quick question: what language feature of kotlin are being used here: install(Routing) { get("/") { call.respondText("Hello, World!") }
o

orangy

03/07/2018, 4:23 PM
Side note, please use triple backticks to quote code
👍 1
w

warriorprincess

03/07/2018, 4:27 PM
Got it!
h

hoang

03/07/2018, 4:31 PM
I guess that the syntax to specify the last parameter outside of () when it is a function https://kotlinlang.org/docs/reference/lambdas.html