Skip to content

Instantly share code, notes, and snippets.

@darwin
Created August 16, 2016 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darwin/a737a966642f8942cf2c0b09bc22fc20 to your computer and use it in GitHub Desktop.
Save darwin/a737a966642f8942cf2c0b09bc22fc20 to your computer and use it in GitHub Desktop.
lein repl 16:23:39
nREPL server started on port 8230 on host 127.0.0.1 - nrepl://127.0.0.1:8230
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (require '[cljs.repl.rhino :as rhino])
nil
user=> (def env (rhino/repl-env))
#'user/env
user=> (repl/repl env)
To quit, type: :cljs/quit
cljs.user=> (+ 1 2)
3
cljs.user=> x
nil
cljs.user=> *clojurescript-version*
"1.9.216"
cljs.user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment