Anonymous user
Symmetric difference: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(added scheme example) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 1,439:
=={{header|Kotlin}}==
<lang scala>// version 1.1.
fun main(args: Array<String>) {
Line 1,446:
println("A = $a")
println("B = $b")
val c = a - b
println("A \\ B = $c")
val d = b - a
|