Clone the following repos into Assets
:
- https://github.com/nasser/magic
- https://github.com/nasser/mage
- https://github.com/clojure/tools.analyzer
You'll need to let Arcadia know about thier source paths, which can be done in a configuration.edn
file placed in Assets
:
{ :arcadia.compiler/loadpaths [
"Assets/magic"
"Assets/mage"
"Assets/tools.analyzer/src"]}
(ns foo
(:require [magic.api :as m]))
(m/defn pow2 [n] (* n n))
(defn bar [n]
(m/faster (* n n))