Commit Graph

14 Commits

Author SHA1 Message Date
Svetlana Isakova 396588f0c3 added jet.Iterator in import
(KT-2606 to avoid it)
2012-08-16 18:39:23 +04:00
Svetlana Isakova e1281953e7 tests changed
val hasNext -> fun hasNext()
2012-08-16 18:39:23 +04:00
James Strachan b4dace2c29 added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation 2012-07-05 15:49:10 +01:00
James Strachan b9edbea926 latest code generated standard library apis 2012-07-04 08:28:39 +01:00
Alexander Zolotov 1e301843f7 Fix function List<T>.reverse().
For now all iterables (including List) return reversed *copy* of collection.
See Problem 3 at https://github.com/JetBrains/kotlin/pull/78#issuecomment-6533534
2012-06-26 00:13:26 +04:00
James Strachan c8a1ffe813 added JS support for toSet() and fixed issue with code generated array methods 2012-06-23 07:49:15 +01:00
James Strachan 8a6b752357 refactored the standard library so most of the collection APIs in the standard library can be compiled to JS 2012-06-21 15:53:39 +01:00
Alexander Zolotov 0043454a06 Implement reduce and reduceRight functions 2012-06-16 02:37:48 +04:00
James Strachan 3872ea8cd0 Merge pull request #48 from Frostman/iter-impr
Small iterables improvement
2012-06-15 03:15:42 -07:00
Alexander Zolotov ae00b0bb15 Fix foldRight implementation for iterables 2012-06-15 13:22:47 +04:00
James Strachan 6dc053f943 generated better comment describing where the code generator is in case anyone wants to modify the code 2012-05-25 21:41:49 +01:00
James Strachan fc4340f0f7 #KT-2067 Fixed 2012-05-23 09:46:15 +01:00
Sergey Lukjanov 88e05e43d3 List<T> replaced with Collection<T> in generated from JLangIterables
code.
2012-05-04 22:21:29 +04:00
James Strachan 7500808e11 #KT-1788 Fixed - added standard collection APIs to the various kinds of Array and removed the few old hand-crafted versions of these methods 2012-04-17 14:05:32 +01:00