Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evaluating function with REPL doesn't produce JS output #65

Open
phi1ipp opened this issue Feb 18, 2019 · 0 comments
Open

evaluating function with REPL doesn't produce JS output #65

phi1ipp opened this issue Feb 18, 2019 · 0 comments

Comments

@phi1ipp
Copy link

phi1ipp commented Feb 18, 2019

Trying to follow modern-cljs tutorial, but found a difference in the output for cljs function evaluation (see output below)

[host@user] boot repl -c
java.lang.Exception: No namespace: reply.eval-modes.nrepl found
REPL-y 0.4.1, nREPL 0.4.5
Clojure 1.10.0
Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
        Exit: Control+D or (exit) or (quit)
    Commands: (user/help)
        Docs: (doc function-name-here)
              (find-doc "part-of-name-here")
Find by Name: (find-name "part-of-name-here")
      Source: (source function-name-here)
     Javadoc: (javadoc java-object-or-class-here)
    Examples from clojuredocs.org: [clojuredocs or cdoc]
              (user/clojuredocs name-here)
              (user/clojuredocs "ns-here" "name-here")
boot.user=> (start-repl)
<< started Weasel server on ws://127.0.0.1:50186 >>
<< waiting for client to connect ... Connection is ws://localhost:50186
Writing boot_cljs_repl.cljs...
 connected! >>
To quit, type: :cljs/quit
nil
cljs.user=> (require '[modern-cljs.shopping :as shop] :reload
       #_=>                     '[domina.core :as dom] :reload
       #_=>                     '[domina.events :as evt] :reload)

cljs.user=> shop/calculate
#object[modern_cljs$shopping$calculate]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant