[plt-scheme] include and sub-directories

From: Dave Herman (dherman at ccs.neu.edu)
Date: Sat Nov 21 12:17:36 EST 2009

Yes, but for my purposes I needed it to be portable.

Dave

On Nov 21, 2009, at 11:08 AM, Matthew Flatt wrote:

> As with `require', you can use `file' to specify an unportable path:
>
>  (include (file "foo-0.2.1/bar.scm"))
>
>
> At Thu, 19 Nov 2009 18:20:13 -0600, Robby Findler wrote:
>> I believe what Jay writes is true for require and that the same code
>> is used for require and include, but it somehow seems less important
>> for include. Maybe the right thing is a special argument to include  
>> to
>> say "don't down on my groove d00d".
>>
>> Robby
>>
>> On Thu, Nov 19, 2009 at 6:18 PM, Dave Herman <dherman at ccs.neu.edu>  
>> wrote:
>>> I submitted a bug but I leave it to y'all -- I'm fine working  
>>> around it by
>>> replacing '.' with '_' in my pathname.
>>>
>>> Thanks,
>>> Dave
>>>
>>> Jay McCarthy wrote:
>>>>
>>>> My impression is that this is to ensure source compatibility on the
>>>> many platforms we support. I am willing to bet that there is a  
>>>> version
>>>> of Windows or Mac OS 9 that these rules are specifically designed  
>>>> to
>>>> be safe wrt.
>>>>
>>>> Jay
>>>>
>>>> On Thu, Nov 19, 2009 at 5:01 PM, Robby Findler
>>>> <robby at eecs.northwestern.edu> wrote:
>>>>>
>>>>> This is probably reasonably considered a bug. :)
>>>>>
>>>>> On Thursday, November 19, 2009, Dave Herman  
>>>>> <dherman at ccs.neu.edu> wrote:
>>>>>>
>>>>>> So what you have run into is an annoying and obscure feature,  
>>>>>> but a
>>>>>> documented and apparently intentional one.
>>>>>>
>>>>>>
>>>>>> I think the error message could be more suggestive, and those  
>>>>>> docs are
>>>>>> pretty impenetrable. But I'm glad it's cleared up. Thanks for  
>>>>>> the help!
>>>>>>
>>>>>> Dave
>>>>>>
>>>>>> _________________________________________________
>>>>>>  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



Posted on the users mailing list.