Skip to content

Commit 6f2c309

Browse files
committed
Fix sci.lang Var usage
1 parent 65be4cf commit 6f2c309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/tutorial.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(ns app.tutorial
22
(:require
33
[clojure.string :as string]
4-
[sci.impl.vars :refer [IVar]]))
4+
[sci.lang :refer [Var]]))
55

66
(def tutorial
77
"Collection of map steps."
@@ -103,7 +103,7 @@
103103
**Global** variables are defined using `def`. Their value could be anything.
104104
105105
Create a global variable called `foo` with a value. E.g. `(def foo \"bar\")`"
106-
:test #(and (instance? IVar %) (= "foo" (-> (.-meta %) :name str)))}
106+
:test #(and (instance? Var %) (= "foo" (-> (.-meta %) :name str)))}
107107
;; Let
108108
{:title "Let it be local"
109109
:content

0 commit comments

Comments
 (0)