Include a file: Difference between revisions
Content added Content deleted
(Added Kotlin) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 655: | Line 655: | ||
For example: |
For example: |
||
<lang scala> |
<lang scala>fun f() = println("f called")</lang> |
||
fun f() = println("f called")</lang> |
|||
We can now import and invoke this from code in the default package as follows: |
We can now import and invoke this from code in the default package as follows: |