On Mar 28, 11:31 am, Mark Engelberg <mark.engelb...@gmail.com> wrote: > 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 > athttp://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.
This approach won't work if you "purchased" a 3rd party Scheme library to do something, because it won't exist on planet.plt-scheme.org -- I guess other language environments that transparently "manage garbage" presume too much about availability, versioning, sourcing and licensing of dependency modules. Regards, Shantanu -- 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