Support doc for slurp and spit (#276)
This commit is contained in:
parent
db32d61d60
commit
b744efd60b
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
(ns babashka.impl.clojure.core
|
(ns babashka.impl.clojure.core
|
||||||
{:no-doc true}
|
{:no-doc true}
|
||||||
(:refer-clojure :exclude [future])
|
(:refer-clojure :exclude [future])
|
||||||
(:require [borkdude.graal.locking :as locking]))
|
(:require [borkdude.graal.locking :as locking]
|
||||||
|
[sci.impl.namespaces :refer [copy-core-var]]))
|
||||||
|
|
||||||
(defn locking* [form bindings v f & args]
|
(defn locking* [form bindings v f & args]
|
||||||
(apply @#'locking/locking form bindings v f args))
|
(apply @#'locking/locking form bindings v f args))
|
||||||
|
|
@ -25,8 +26,8 @@
|
||||||
'deliver deliver
|
'deliver deliver
|
||||||
'locking (with-meta locking* {:sci/macro true})
|
'locking (with-meta locking* {:sci/macro true})
|
||||||
'shutdown-agents shutdown-agents
|
'shutdown-agents shutdown-agents
|
||||||
'slurp slurp
|
'slurp (copy-core-var slurp)
|
||||||
'spit spit
|
'spit (copy-core-var spit)
|
||||||
'time (with-meta time* {:sci/macro true})
|
'time (with-meta time* {:sci/macro true})
|
||||||
'Throwable->map Throwable->map
|
'Throwable->map Throwable->map
|
||||||
'compare-and-set! compare-and-set!})
|
'compare-and-set! compare-and-set!})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue