On Sun, Mar 27, 2011 at 11:15 PM, Mike Meyer <m...@mired.org> wrote:
> So, assuming you found a library you really needed that wasn't already
> locally installed, how did you deal with that? If you could add a
> "require library" to your source and your language would go find it,
> download it and install it, I'd like to know about that language.

Racket does exactly this.  All the libraries live at
http://planet.plt-scheme.org/.  If you see something you want to use,
you just need to add a corresponding line to your program, for
example:
(require (planet dherman/memoize:3:1))

If the library's not already on the system, when you run the program,
Racket automatically downloads it for you and puts it in the right
place (and even installs the documentation to the built-in, searchable
help desk!), and then the program executes.

The beauty of this approach is that it makes your programs truly
portable.  I can send my program to someone, even if it involves
libraries, and trust that it will just run with no fuss, because all
the libraries auto-install.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to