Created
March 27, 2019 10:09
-
-
Save jasongorman/64211128e8d207098c14861ccf2fc301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Room(val width: Double, val length: Double) | |
fun area(room: Room) = room.width * room.length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment