Re: [racket-dev] collects search order

2014-12-12 Thread Sam Tobin-Hochstadt
On Fri, Dec 12, 2014 at 8:46 AM, Matthew Flatt wrote: > At Thu, 11 Dec 2014 17:00:14 -0800, Dan Liebgold wrote: >> If I use the -X and -S command line parameters to Racket to make my local >> collects dir the first one searched, it makes it so I can't do (require >> srfi/1). > > Yes, this is subtl

Re: [racket-dev] collects search order

2014-12-12 Thread Matthew Flatt
At Thu, 11 Dec 2014 17:00:14 -0800, Dan Liebgold wrote: > If I use the -X and -S command line parameters to Racket to make my local > collects dir the first one searched, it makes it so I can't do (require > srfi/1). Yes, this is subtle and confusing. > Is there something special about the srfi p

Re: [racket-dev] collects search order

2014-12-12 Thread Jay McCarthy
I don't know the answer to the -X/-S question, but the best way to add more collects is to use "raco link" or "raco pkg". If you want to OVERRIDE a collect that would normally be part of racket/collects is more complicated though. On Thu, Dec 11, 2014 at 8:00 PM, Dan Liebgold wrote: > If I use th

[racket-dev] collects search order

2014-12-11 Thread Dan Liebgold
If I use the -X and -S command line parameters to Racket to make my local collects dir the first one searched, it makes it so I can't do (require srfi/1). Is there something special about the srfi package? (it's layout seems different) Is there a better way to prioritize my local collects dir per