[plt-scheme] Re: problem loading modules
On Feb 12, 2008, at 10:11 PM, Robby Findler wrote:
> Of course you can load modules, but you can't use the new fancy stuff
> (like #lang or requires that look like net/url).
In particular, in 372, the module requires will look more like this:
(require (lib "url.ss" "net"))
For comprehensive documentation, see the Help Desk that probably came
with your installation.
John Clements
> Our bleeding edge has been a bit more bleeding than usual these days,
> but that's because lots of stuff is changing. Generally things are
> pretty stable.
>
> But do keep in mind you're reading bleeding edge documentation so
> watch out for your eyeballs. :)
>
> Robby
>
> On Feb 13, 2008 12:07 AM, Liron Greenstein <Liron86 at gmail.com> wrote:
>> Yep. So does that mean I have to subject myself to
>> broken^H^H^H^H^Hleeding-edge code just to load modules? There
>> must be
>> an easier way...
>>
>> Liron Greenstein
>>
>> On Feb 12, 11:51 pm, "Robby Findler" <ro... at cs.uchicago.edu> wrote:
>>> That tutorial is written for the latest and greatest, which is only
>>> available via SVN, or from the nightly builds page. Are you using
>>> v372?
>>>
>>> Robby
>>>
>>
>>> On Feb 12, 2008 10:40 PM, Liron Greenstein <liro... at gmail.com>
>>> wrote:
>>>
>>>> Hi, I'm pretty new to PLT, so maybe this is a dumb question: I'm
>>>> following
>>>> the "Systems Programming with PLT Scheme" tutorial, and when I
>>>> run it with
>>>> (require net/url xml), DrScheme tells me "require: unknown
>>>> module: net/url".
>>>> This happens with other modules too. According to the REPL, my
>>>> current-load-relative-directory is home, so from there it's
>>>> (require
>>>> Scheme/plt/collects/net/url), which still doesn't work. And
>>>> same with
>>>> starting from collects/, or plt/, or the absolute path from /
>>>> home... So,
>>>> does anyone know how to get Scheme to see modules? (If it helps,
>>>> I'm using
>>>> v372 on Ubuntu with mred as the language. I did the install
>>>> option where
>>>> it's all in one directory.) Thanks!
>>>
>>>> Liron Greenstein
>>>
>>>> _________________________________________________
>>>> For list-related administrative tasks:
>>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>>> _________________________________________________
>>> For list-related administrative tasks:
>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2223 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20080213/041df67d/attachment.p7s>