1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 23:23:07 +00:00

Update CHANGELOG.md

Also change `with-resource` to `with`.
This commit is contained in:
Calvin Rose
2019-06-24 22:02:37 -04:00
parent 75f1bb6a7c
commit a7f3d3436f
2 changed files with 4 additions and 1 deletions

View File

@@ -263,7 +263,7 @@
(++ i))
~(let (,;accum) ,;body))
(defmacro with-resource
(defmacro with
"Evaluate body with some resource, which will be automatically cleaned up
if there is an error in body. binding is bound to the expression ctor, and
dtor is a function or callable that is passed the binding. If no destructor