oups, to do these kinds of thing I'd need quite some input on where to look for, etc. I naively opened collects/racket/require.rkt but that's clearly insufficient to get the big picture and understand where and how to extend...
-- Éric On Apr 8, 2011, at 9:05 AM, Noel Welsh wrote: > It has been talked about a lot, but no-one has implemented this > feature AFAIK. Should be possible, as require is extensible. > > Go for it, tiger ;-) > > N. > > On Thu, Apr 7, 2011 at 4:01 PM, Eric Tanter <etan...@dcc.uchile.cl> wrote: >> Hi all, >> >> In the same way that it is possible to require a file given a local path: >> eg. >> (require (file "/home/..../foo.rkt")) >> >> I'm looking for a way to require a file given a URL: >> eg. >> (require (url "http://tmp.barzilay.org/defmac.ss")) >> >> The above does not work because url is not a require sub-form. file doesn't >> work either because it seems to convert the URL to a local path >> ("/http:/tmp.barzilay.org/defmac.rkt") >> >> Is there a way to do that? >> I know that the best option is a planet package, but that's a bit >> heavyweight for my current needs. >> >> Thanks, >> >> -- Éric > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users