summaryrefslogtreecommitdiff
path: root/cljlib.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'cljlib.fnl')
-rw-r--r--cljlib.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cljlib.fnl b/cljlib.fnl
index 29be35e..dd6c621 100644
--- a/cljlib.fnl
+++ b/cljlib.fnl
@@ -4173,7 +4173,7 @@ Bear in mind, that since the sequence is lazy it should be realized or
truncated before the file is closed:
``` fennel
-(let [lines (with-open [f (io.open \"init.fnl\" :r)]
+(let [lines (with-open [f (io.open \"cljlib.fnl\" :r)]
(line-seq f))]
;; this will error because only first line was realized, but the
;; file was closed before the rest of lines were cached
@@ -4183,7 +4183,7 @@ truncated before the file is closed:
Sequence is realized with `doall` before file was closed and can be shared:
``` fennel
-(let [lines (with-open [f (io.open \"init.fnl\" :r)]
+(let [lines (with-open [f (io.open \"cljlib.fnl\" :r)]
(doall (line-seq f)))]
(assert-is (pcall next lines)))
```