Codebase list ohcount / 85ef4224-9298-4dc6-8a5a-b1f66d4179b3/main test / src_dir / kotlin.kt
85ef4224-9298-4dc6-8a5a-b1f66d4179b3/main

Tree @85ef4224-9298-4dc6-8a5a-b1f66d4179b3/main (Download .tar.gz)

kotlin.kt @85ef4224-9298-4dc6-8a5a-b1f66d4179b3/mainraw · history · blame

// Line comment
fun sum(a : Double, b : Double) : Double { 
  return a + b 
}

/*
 * Block comment
 */

fun hello(place : String) : Unit {
    print("Hello, \"$place\"\n")
}

/*
 * /*
 *  * Block comments nest
 *  */
 */

fun main() : Unit {
    hello("""Very, very, very
             // long place
             somewhere""")
}