[racket-dev] Planet 2 Beta Release

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Nov 30 08:49:23 EST 2012

About three weeks ago, Robby Findler wrote:
> I would be unhappy, however, if we end up with a system where you
> have to grovel around in low-level places to get simple uses of
> uninstalled packages working. That is, I want to be able to put in a
> blog post or in a talk or somewhere a little program that depends on
> uninstalled libraries and, if I'm careful about keeping those
> libraries that the little file works with, then that file should
> Just Work for casual users who download drracket paste it in, and
> hit Run.

IIUC, there is an API interface for installing packages, so it's
possible to write some expression that installs a package if it is not
installed.  The road from there to a require form that installs
something automatically if needed is probably not long, but I think
that one main thing that would make things better is if that results
in some visible output about the installation that is being done.
This avoids the problem of people who think that your random blogged
code is not doing anything.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.