Closed koops closed 10 years ago
Thanks @koops =
is defined in the stdlib, so you need to import it, you can try following code
snippet at http://jeditoolkit.com/interactivate-wisp/
(ns try.wisp
(:require [wisp.runtime :refer [=]]))
(= 2 2)
That's because =
is like _.isEqual, identity based equality check
is (identical? 2 2)
which does not require import and compiles to 2 === 2
in JS.
Once #93 is fixed this would produce warnings, maybe even telling how to fix imports if module is in standard lib.
I really like wisp. Clojurescript with all the Google Closure baggage is awesome.
I just installed wisp-0.9.0-beta3.tgz, and in the repl
Am I missing dependency somewhere?