Files
kotlin-fork/libraries/stdlib
Alexander Udalov ca565b9c19 Move toString() from primitive ranges to Range
The same can't be done with progressions, because its toString() checks if an
increment is greater than zero, but Progression.increment is of type Number,
which is not Comparable<Int>
2014-01-27 18:33:47 +04:00
..

The Kotlin Standard Library

This module creates the standard library for kotlin.

Notes for contributors

We use some code generation to apply the various collection-like methods to various different types like arrays, strings, kotlin.Iterable and java.lang.Iterable etc.

To run the code generator from a kotlin checkout

cd libraries/tools/kotlin-stdlib-gen
mvn compile exec:java

This then runs the GenerateStandardLib.kt script to create the source from the files for java.lang.Iterable and java.util.Collection etc.