We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65be4cf commit 6f2c309Copy full SHA for 6f2c309
src/app/tutorial.cljs
@@ -1,7 +1,7 @@
1
(ns app.tutorial
2
(:require
3
[clojure.string :as string]
4
- [sci.impl.vars :refer [IVar]]))
+ [sci.lang :refer [Var]]))
5
6
(def tutorial
7
"Collection of map steps."
@@ -103,7 +103,7 @@
103
**Global** variables are defined using `def`. Their value could be anything.
104
105
Create a global variable called `foo` with a value. E.g. `(def foo \"bar\")`"
106
- :test #(and (instance? IVar %) (= "foo" (-> (.-meta %) :name str)))}
+ :test #(and (instance? Var %) (= "foo" (-> (.-meta %) :name str)))}
107
;; Let
108
{:title "Let it be local"
109
:content
0 commit comments