aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-07-28 04:48:42 -0400
committerEduardo Julian2021-07-28 04:48:42 -0400
commit5d4583aebd00adced10275b32ff1a93ab418be50 (patch)
tree89315e104e2b0ddd6d56f894f01a0575d3078699 /stdlib/source/library/lux/world/program.lux
parent061fd8a209bbcaffc2bfb850ac6046752a567d50 (diff)
Re-named List's tags: Nil => End && Cons => Item
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/world/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/world/program.lux b/stdlib/source/library/lux/world/program.lux
index e90307894..730a2001a 100644
--- a/stdlib/source/library/lux/world/program.lux
+++ b/stdlib/source/library/lux/world/program.lux
@@ -136,9 +136,9 @@
(def: (jvm\\consume iterator)
(All [a] (-> (java/util/Iterator a) (List a)))
(if (java/util/Iterator::hasNext iterator)
- (#.Cons (java/util/Iterator::next iterator)
+ (#.Item (java/util/Iterator::next iterator)
(jvm\\consume iterator))
- #.Nil))
+ #.End))
)]
(for {@.old (as_is <jvm>)
@.jvm (as_is <jvm>)