[plt-scheme] Help: Question about require and include

From: Parnell Springmeyer (ixmatus at gmail.com)
Date: Tue Nov 3 23:49:55 EST 2009

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I made the error of replying to the last responder without "Reply All".
Grant, I am trying to accomplish something specific, here's what I wrote
to the last replier: Might I ask what the proper idiom would be for
creating a user defined path to, say, a module directory in a
configuration file and then prefixing a module filename with that value
at require time?

Am I conceiving of it completely wrong? I would love to know what other
more advanced programmers do.

Grant Rettke wrote:
> On Tue, Nov 3, 2009 at 6:20 PM, Parnell Springmeyer <ixmatus at gmail.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I'm a Scheme noob and have had trouble trying to figure out why this
>> code does not work:
>>
>> (define base-module-path "/home/user/modules/")
>> (require (string-append base-module-path "user-agent.ss"))
>>
>> I know I'm missing something basic as to why it doesn't work... Any
>> enlightenment would be nice!
> 
> Did you want to accomplish something specific or are you just studying
> how things work?
> 

- --
Parnell "Ixmatus" Springmeyer (http://ixmat.us)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)

iQEcBAEBAgAGBQJK8QfzAAoJEPvtlbpI1POL0SYIALZwERaNZnvDa7Ek83KjudsD
uH5RcfvR0yZ2pTnsVd70MGVTL+3AkoMLwn2SK5tCKBxKbz8wNLskYc3CU8For2cW
8DJ9W39w5f/9/FJF5xd2twQnqOR7LnWNHsynHyUVdamlJTcgO2q9Iopqwdm1xTmd
AsN45X6uGlVYwylOk3JnXgdlqAEdRqUFkj9zS+7yKjGW6/E/I5lVVX/4y8W2tW48
U2wDzLrMIiTK2njyYrSZcRYOE04mMp4JFC4wkzgB6nGrDjTGWfJDmj7gBK89N1wv
/0gzOU41P7tSPutaVWM3JnzfehGzYFPM/7R3U6m3zaxVXsZTY2y183Z91Bkn6es=
=0rdx
-----END PGP SIGNATURE-----


Posted on the users mailing list.