Hey folks,
Don't you hate it when someone releases a cool new library and you have to go
into a project and add an unwanted dependency just to try it out? Worse, maybe
you decide to 'lein new delete-me' and add it there.
No more! Stop this madness. Use lein-try to quickly launch a REPL with new
dependencies download automatically - inside of a project, or out.
Once you've dropped [lein-try "0.1.1"] in your ~/.lein/profiles.clj's :user
:plugins key, simply copy-paste the leiningen-style dependency after "lein
try". For example:
$ lein try [io.rkn/core.async "0.1.0-SNAPSHOT"]
nREPL server started on port 50472
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 '[clojure.core.async :as async :refer [timeout go <!]])
nil
user=> (go (<! (timeout 1000)) (println "Now we're cooking with channels."))
#<ManyToManyChannel
clojure.core.async.impl.channels.ManyToManyChannel@3b43b598>
user=>
# one second later...
Now we're cooking with channels.
Wow, that's cool!
Find out more or contribute at https://github.com/rkneufeld/lein-try
-Ryan
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.