Skip to content

Instantly share code, notes, and snippets.

@tomekw
Created August 29, 2018 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomekw/881700575a82cb39e4cb50f69b3d77b7 to your computer and use it in GitHub Desktop.
Save tomekw/881700575a82cb39e4cb50f69b3d77b7 to your computer and use it in GitHub Desktop.
// file: src/main/kotlin/com/_98elements/Calculator.kt
package com._98elements
object Calculator {
fun add(a: Int, b: Int) = a + b
fun divide(a: Int, b: Int) = a / b
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment