Hello, world!
kedr/println "Hello, world!"
The println function from the kedr module prints Hello, world! to the console.
import kedr/println
println "Hello, world!"
The imported println is available until the end of the current module.
def greet (name : String) =
println "Hello, $name!"
Function is defined with the def keyword. The content is indented by four spaces.
Dollar sign inserts a value of the following expression into a string.