upgrade sci: macros now have form and env args

This commit is contained in:
Michiel Borkent 2019-10-19 20:11:43 +02:00 committed by GitHub
parent a6edb255b6
commit 19d9db5dc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

2
sci

@ -1 +1 @@
Subproject commit da91beb83e55c1783b97b8434c5197791c8b6b08
Subproject commit a9e9a6e4e5f44e6ad73622a9d400e22bd1c941e9

View file

@ -3,7 +3,7 @@
(:require [clojure.core.async :as async]))
(defn thread
[& body]
[_ _ & body]
`(~'async/thread-call (fn [] ~@body)))
(def async-namespace

View file

@ -3,7 +3,7 @@
(:refer-clojure :exclude [future]))
(defn future
[& body]
[_ _ & body]
`(~'future-call (fn [] ~@body)))
(def core-bindings

View file

@ -10,10 +10,10 @@
[babashka.impl.clojure.java.io :refer [io-namespace]]
[babashka.impl.clojure.stacktrace :refer [print-stack-trace]]
[babashka.impl.conch :refer [conch-namespace]]
[babashka.impl.exceptions :refer [exception-bindings]]
[babashka.impl.pipe-signal-handler :refer [handle-pipe! pipe-signal-received?]]
[babashka.impl.socket-repl :as socket-repl]
[babashka.impl.tools.cli :refer [tools-cli-namespace]]
[babashka.impl.exceptions :refer [exception-bindings]]
[babashka.wait :as wait]
[clojure.edn :as edn]
[clojure.java.io :as io]