Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created Mar 27, 2019
Embed
What would you like to do?
fun room(width: Double, length: Double) : () -> (Double) {
fun area() : Double {
return width * length
}
return ::area
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment