Something Something Development

lein-try 0.3.0: Trying Clojure libraries becomes even easier

with 3 comments

A few days ago, I wrote about lein-try, a useful Leiningen plugin that let’s you start a REPL including any Clojure libraries you desire. Now, with the latest release┬áthe whole thing becomes even easier since you no longer have to provide the version number of those artifacts you want lein-try to offer you. Simply run it using:

$ lein try com.taoensso/nippy
Retrieving com/taoensso/nippy/2.0.0/nippy-2.0.0.pom from clojars
Retrieving expectations/expectations/1.4.49/expectations-1.4.49.pom from clojars
nREPL server started on port 59952
REPL-y 0.2.0
Clojure 1.5.1
    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)

user=> (require '[taoensso.nippy :as nippy])

See here on how to install the plugin correctly.

Written by Yannick

July 29th, 2013 at 4:42 pm

  • mayjune

    Super cool! :D Thanks for sharing!

  • rkneufeld

    You’re too humble, you were totally the one that implemented that cool new feature!

    • http://dev.xscheme.de/ Yannick

      Thanks for the shoutout! But I’m not the one who had the idea and implementation was only a technicality. ;)