aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/file/watch.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/world/file/watch.lux')
-rw-r--r--stdlib/source/library/lux/world/file/watch.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux
index daa1380a4..eea669a47 100644
--- a/stdlib/source/library/lux/world/file/watch.lux
+++ b/stdlib/source/library/lux/world/file/watch.lux
@@ -273,10 +273,10 @@
(All [a] (-> (java/util/List a) (List a)))
(let [size (.nat (java/util/List::size list))]
(loop [idx 0
- output #.Nil]
+ output #.End]
(if (n.< size idx)
(recur (inc idx)
- (#.Cons (java/util/List::get (.int idx) list)
+ (#.Item (java/util/List::get (.int idx) list)
output))
output))))
@@ -384,7 +384,7 @@
java/nio/file/Path::toString
(:as //.Path))]
concern (..default_key_concern key)]
- (recur (#.Cons [concern path]
+ (recur (#.Item [concern path]
output)))
(recur output)))