Skip to content

Commit ab598ff

Browse files
authored
fix small typo error in sci/binding (#929)
1 parent f766255 commit ab598ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ These dynamic SCI vars can be bound from Clojure using `sci/binding`:
214214

215215
``` clojure
216216
(def x (sci/new-dynamic-var 'x 10))
217-
(sci/binding [x 11] (sci/eval-string "(inc *x*)" {:namespaces {'user {'*x* x}}})) ;;=> 11
217+
(sci/binding [x 11] (sci/eval-string "(inc *x*)" {:namespaces {'user {'*x* x}}})) ;;=> 12
218218
```
219219

220220
Notice that you cannot set _host_ dynamic variables _from your SCI scripts_ - `binding` will only work

0 commit comments

Comments
 (0)