Skip to content
Latest commit 249d08a Apr 27, 2016 @ilya-g ilya-g Handle special cases of drop, take, takeLast when it is known in adva…
…nce that the result is a single-item list. #KT-9990
Failed to load latest commit information.
pom.xml KT-11410: Build stdlib with new part/facade inheritance scheme. Apr 1, 2016

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.

Something went wrong with that request. Please try again.