You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in pixie/repl.pxi at 27:24
(let [x (eval form)]
^
in internal function eval
in internal function load-ns
in internal function load-file
in internal function load-reader
Running: (def h escape-html)
in deps/heyLu/hiccup.pxi/src/hiccup/core.pxi at 16:1
(def ^{:doc "Alias for hiccup.util/escape-html"}
^
in pixie function toplevel
in deps/heyLu/hiccup.pxi/src/hiccup/core.pxi at 17:5
h escape-html)
^
RuntimeException: :pixie.stdlib/AssertionException Var escape-html is undefined
user =>
The text was updated successfully, but these errors were encountered:
A while back ns forms were made to be more like Clojure, that is a keyword is valid and a symbol is not. You may need go through the namespaces and change (ns hiccup.namespace (use ...)) to (ns hiccup.namespace (:user ...)) ditto require and other import forms. I suspect that is why hiccup.core isn't pulling in hiccup.util.
Hope that helps!
A PR would of course be great to make ns related syntax issues throw errors.
Run on an x64 system with ~ 4GB RAM running Ubuntu 16.04.1 LTS
steve@steve-Satellite-L555D:
$ pixie-vm --version$ which pixie-vmPixie 0.1
steve@steve-Satellite-L555D:
/usr/local/bin/pixie-vm
steve@steve-Satellite-L555D:
$ echo $PATH$ git clone git://github.com/pixie-lang/dust/home/steve/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/unicon/bin
steve@steve-Satellite-L555D:
Cloning into 'dust'...
remote: Counting objects: 360, done.
remote: Total 360 (delta 0), reused 0 (delta 0), pack-reused 360
Receiving objects: 100% (360/360), 53.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (153/153), done.
Checking connectivity... done.
steve@steve-Satellite-L555D:
$ sudo ln -s /home/steve/dust/dust /usr/bin/dust$ cd duststeve@steve-Satellite-L555D:
steve@steve-Satellite-L555D:
/dust$ vi project.edn/dust$ dust get-depssteve@steve-Satellite-L555D:
Downloading heyLu/hiccup.pxi
steve@steve-Satellite-L555D:~/dust$ dust repl
user => (use 'hiccup.core)
ERROR:
in pixie function repl_fn
in pixie/repl.pxi at 27:24
(let [x (eval form)]
^
in internal function eval
in internal function load-ns
in internal function load-file
in internal function load-reader
Running: (def h escape-html)
in deps/heyLu/hiccup.pxi/src/hiccup/core.pxi at 16:1
(def ^{:doc "Alias for hiccup.util/escape-html"}
^
in pixie function toplevel
in deps/heyLu/hiccup.pxi/src/hiccup/core.pxi at 17:5
h escape-html)
^
RuntimeException: :pixie.stdlib/AssertionException Var escape-html is undefined
user =>
The text was updated successfully, but these errors were encountered: