Skip to content

Instantly share code, notes, and snippets.

@lagenorhynque
Last active November 11, 2022 07:11
Show Gist options
  • Select an option

  • Save lagenorhynque/12a6213e1dc9af5bada0c81bd360b6b5 to your computer and use it in GitHub Desktop.

Select an option

Save lagenorhynque/12a6213e1dc9af5bada0c81bd360b6b5 to your computer and use it in GitHub Desktop.
Boost your productivity with Clojure REPL

Boost your productivity

with Clojure REPL


カマイルカ🐬/laʒenɔʁɛ̃k/

(defprofile lagénorhynque
  :name         "Kent OHASHI"

  :languages    [Clojure Common-Lisp Scheme Haskell
                 English français]

  :interests    [programming language-learning mathematics]

  :contributing [github.com/japan-clojurians/clojure-site-ja])

twitter icon


plain Clojure REPL


lein repl


clj


  • helper functions/variables
    • doc, find-doc
    • source
    • javadoc
    • *1, *2, *3, *e
  • completion
  • no syntax highlight
  • no multiline editing

rebel-readline


Clojure CLI + rebel-readline

~/.clojure/deps.edn

{:aliases {:rebel {:extra-deps {com.bhauman/rebel-readline
                                {:mvn/version "0.1.4"}}
                   :main-opts  ["-m" "rebel-readline.main"]}}}

clojure -A:rebel


Leiningen + rebel-readline

project.clj

  :aliases {"rebel" ^{:doc "Run REPL with rebel-readline."}
            ["trampoline" "run" "-m" "rebel-readline.main"]}

lein rebel


e.g. lein figwheel

* lein-figwheel >= 0.5.15


Further Reading

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment