Commit Graph

23 Commits

Author SHA1 Message Date
Tentacles
2ff50ccd2c
Update kotlin.html.markdown 2021-02-04 18:25:10 +00:00
Alex P
e133062e35
fix: use fooData's values, not fooCopy's 2021-01-29 20:23:05 +00:00
ashraf-patel
99bab9d9e9 Kotlin enum 2019-08-05 14:31:01 +05:30
Illya Gerasymchuk
25a08b5931 refactor operator overloading example; reorder code
Refactored the operator overloading example, fixed some grammar mistakes, reordered parts of the code
to make it easier to read and some other minor fixes.
2019-03-23 13:31:06 +00:00
Illya Gerasymchuk
f801ff3fe0 fix grammar errors 2019-03-22 17:44:10 +00:00
Henning Post
3aada35d9a
Mention parameterless main function 2018-10-31 11:39:25 -07:00
Saurabh Sandav
b3d01a51a8
Update link to run Kotlin in the browser 2018-10-27 11:32:43 +05:30
Muhammad Rifqi Fatchurrahman
9438e56ae9 [Kotlin/en] add kotlin operator overloading 2018-10-03 00:56:58 +07:00
Zohar Jackson
14719728dd
Update kotlin.html.markdown 2018-09-10 11:44:00 -04:00
Bharat Reddy
6350beb6e6 Added print output for template string command 2017-07-07 11:26:29 +01:00
João Vitor Verona Biazibetti
d30d6f69ca [Kotlin/all] Remove whitespace in variable declaration with explicit type (#2733)
* Removed whitespace in variable declaration with explicit type (Kotlin)

* Removed whitespace in variable declaration with explicit type (Kotlin translations)
2017-05-19 23:34:27 +02:00
Pablo Najt
c1d773eab7 [kotlin/all] Rename variable fooMutableDate to fooMutableData (#2688) (#2689) 2017-03-24 18:53:41 +01:00
Jakukyo Friel
858171d723 Several changes on Kontlin. (#2335)
* kotlin: remove unnecessary semicolons.

Also replace code block language `java` with `kotlin`.

* kotlin: change coding style (Kotlin Reference)

* kotlin: anonymous function -> lambda expression

Anonymous functions and lambda expressions are different in Kotlin.
The code example uses `anonymous function` in the comment,
while the code below is in fact lambda expressions.

* Remove myself from contributors.

Not for trivial changes.

* kotlin: fix a typo.

Thanks @geoffliu to point out this.

* kotlin: change style of default parameter according to Referenec.
2016-10-12 11:47:41 +02:00
Sergey Mashkov
7d00a22bde [Kotlin/en] Add more destructuring examples (#2419) 2016-10-05 16:59:16 +02:00
Sergey Mashkov
98bb8f8432 [Kotlin/en] Add when smartcast example (#2418) 2016-10-05 13:34:08 +02:00
Sergey Mashkov
2fa414912e [Kotlin/en] correct object clarification (#2413)
* Kotlin: correct object clarification

* Kotlin: correct object clarification
2016-10-05 12:27:41 +02:00
Paolo Furini
161edb1f6e [kotlin/en] Add "if" usage as an expression (#2367)
* [kotlin/en] Add "if" usage as a function

* [kotlin/en] Change comment on "if" expression

Rephrase the comment to use the term "expression" in place of "function"
2016-09-12 16:33:16 +02:00
s-webber
19ac1e8eeb [kotlin/en] Add examples of sequences (#2214)
* minor capitalization and punctuation changes

* examples of sequences

* corrected comment
2016-06-26 15:20:28 +02:00
ven
fc9ff35932 Merge pull request #2202 from s-webber/master
[kotlin/en] Add links to other resources
2016-03-19 13:15:52 +01:00
s-webber
9ccc431ea3 updated further reading section 2016-03-19 10:08:01 +00:00
s-webber
f8f644d891 removed unnecessary brackets 2016-03-19 10:06:54 +00:00
Adam Bard
f32379a558 Set kotlin highlighting to java 2016-03-15 15:34:19 -07:00
s-webber
1bec0f6089 created kotlin markdown 2016-03-13 10:10:06 +00:00