Tuesday, January 27, 2009

Living on the bleeding edge

You can try clojure libs straight from the cloud:
(add-classpath "http://clojure-contrib.svn.sourceforge.net/viewvc/clojure-contrib/trunk/src/") ; sourceforge
(add-classpath "http://github.com/Lau-of-DK/clojureql/raw/master/src/"); github
(require '[clojure.contrib.duck-streams :as duck])
(require '[dk.bestinclass.clojureql :as ql])

Disclaimer:

  • add-classpath is not meant to be used anywhere but at the repl,
  • you'd better trust what you download,
  • if you are unlucky you can get an inconsistent snapshot,
  • use at your own risk!

2 comments:

  1. Please note, that this approach only works in case the library does not use gen-class to generate a class. This needs AOT compilation, which is most likely not contained in the repositories.

    ReplyDelete

Note: Only a member of this blog may post a comment.