Update clojure example to new calling convention (#1667)
This way work both from scripts and tasks
This commit is contained in:
parent
3e4c5861e7
commit
771f69d922
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
(-> (clojure '[-M -e (+ 1 2 3)] {:out :string}) deref :out) returns
|
(-> (clojure {:out :string} '-M '-e '(+ 1 2 3)]) deref :out) returns
|
||||||
\"6\n\".
|
\"6\n\".
|
||||||
|
|
||||||
(-> @(clojure) :exit) starts a clojure REPL, waits for it
|
(-> @(clojure) :exit) starts a clojure REPL, waits for it
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue