~technomancy/fennel

958853f356ab367d9ece7f53e33a7eac400fa836 — Jesse Wertheim a month ago 4184ec1
correct with-open example in reference.md
1 files changed, 1 insertions(+), 1 deletions(-)

M reference.md
M reference.md => reference.md +1 -1
@@ 274,7 274,7 @@ Example:
;; Basic usage
(with-open [fout (io.open :output.txt :w) fin (io.open :input.txt)]
  (fout:write "Here is some text!\n")
  (fin:line)) ; => first line of input.txt
  ((fin:lines))) ; => first line of input.txt

;; This demonstrates that the file will also be closed upon error.
(var fh nil)