From 00697bf764b54ef55764323bf90203f35ba5114a Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 23 Mar 2015 13:10:16 +0100 Subject: [PATCH 1/2] use new structure for module.md --- libraries/stdlib/src/Module.md | 42 +++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/libraries/stdlib/src/Module.md b/libraries/stdlib/src/Module.md index ab5aa64272b..87371eb8cd9 100644 --- a/libraries/stdlib/src/Module.md +++ b/libraries/stdlib/src/Module.md @@ -1,22 +1,42 @@ -Kotlin standard library is a set of functions and types implementing idiomatic patterns when working with collections, +# Module stdlib + +## Kotlin Standard Library + +The Kotlin standard library is a set of functions and types implementing idiomatic patterns when working with collections, text and files. -$kotlin: Core functions and types, available on all supported platforms, +# Package kotlin -$kotlin.browser: API to access the web browser DOM +Core functions and types, available on all supported platforms. -$kotlin.concurrent: Concurrent programing API +# Package kotlin.browser -$kotlin.dom: Functions for working with the W3C DOM +API to access the web browser DOM. -$kotlin.io: IO API for working with files and streams +# Package kotlin.concurrent -$kotlin.math: Mathematics API +Utility functions for concurrent programming. -$kotlin.modules: API for defining compilation units +# Package kotlin.dom -$kotlin.template: Text processing API +Functions for working with the W3C DOM. -$kotlin.test: Functions for writing tests +# Package kotlin.io -$kotlin.util: Utility functions +IO API for working with files and streams. + +# Package kotlin.math + +Mathematics API. + +# Package kotlin.modules + +API for defining compilation units. + +# Package kotlin.test + +Functions for writing tests + +# Package kotlin.util + +Utility functions From bd1a116c9e6a1936938f5a302e8af6bd61d957fb Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 23 Mar 2015 18:52:27 +0100 Subject: [PATCH 2/2] add documentation for recently added packages --- libraries/stdlib/src/Module.md | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/libraries/stdlib/src/Module.md b/libraries/stdlib/src/Module.md index 87371eb8cd9..04a981ad1bf 100644 --- a/libraries/stdlib/src/Module.md +++ b/libraries/stdlib/src/Module.md @@ -21,6 +21,10 @@ Utility functions for concurrent programming. Functions for working with the W3C DOM. +# Package kotlin.jvm + +Functions and annotations specific to the Java platform. + # Package kotlin.io IO API for working with files and streams. @@ -33,10 +37,29 @@ Mathematics API. API for defining compilation units. +# Package kotlin.platform + +APIs for customizing the code generated by the Kotlin compiler for better interoperability with +other code on the target platform. + +# Package kotlin.properties + +Standard implementations of delegates for [delegated properties](/docs/reference/delegated-properties.html) +and helper functions for implementing custom delegates. + +# Package kotlin.reflect + +Runtime API for [Kotlin reflection](/docs/reference/reflection.html) + +# Package kotlin.reflect.jvm + +Runtime API for interoperability between [Kotlin reflection](/docs/reference/reflection.html) and +Java reflection. + # Package kotlin.test -Functions for writing tests +Functions for writing tests. # Package kotlin.util -Utility functions +Utility functions.