parent
9930eea62c
commit
c7cc5663cb
2 changed files with 8 additions and 0 deletions
6
src/babashka/impl/clojure/math.clj
Normal file
6
src/babashka/impl/clojure/math.clj
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(ns babashka.impl.clojure.math
|
||||
(:require [clojure.math]
|
||||
[sci.core :as sci]))
|
||||
|
||||
(def mns (sci/create-ns 'clojure.math nil))
|
||||
(def math-namespace (sci/copy-ns clojure.math mns))
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
[babashka.impl.clojure.java.io :refer [io-namespace]]
|
||||
[babashka.impl.clojure.java.shell :refer [shell-namespace]]
|
||||
[babashka.impl.clojure.main :as clojure-main :refer [demunge]]
|
||||
[babashka.impl.clojure.math :refer [math-namespace]]
|
||||
[babashka.impl.clojure.stacktrace :refer [stacktrace-namespace]]
|
||||
[babashka.impl.clojure.zip :refer [zip-namespace]]
|
||||
[babashka.impl.common :as common]
|
||||
|
|
@ -353,6 +354,7 @@ Use bb run --help to show this help output.
|
|||
(let [opts (apply hash-map opts)]
|
||||
(repl/start-repl! @common/ctx opts))) {:ns clojure-main-ns})}
|
||||
'clojure.test t/clojure-test-namespace
|
||||
'clojure.math math-namespace
|
||||
'babashka.classpath classpath-namespace
|
||||
'clojure.pprint pprint-namespace
|
||||
'babashka.curl curl-namespace
|
||||
|
|
|
|||
Loading…
Reference in a new issue