Files
kotlin-fork/libraries/stdlib
Evgeny Gerashchenko 63484e28e0 Renamed Iterable.contains to containsItem, to avoid puzzling.
Otherwise, you could accidentally look for Double in List<Int>, or even for Int in ShortSequence (by stupid iterating).
2013-01-29 22:55:09 +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/stdlib
mvn test-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.