On Monday, August 18, 2014 6:17:05 PM UTC-4, Stefan Karpinski wrote: > > ./Foo isn't valid syntax, so that's not quite going to work. You could do > @require > "./Foo" instead. For what it's worth, I don't think that deciding whether > to load a file or package based on capitalization is a good idea. One > alternative would be to load a package if the argument is a symbol and load > a file if the argument is a string. >
Ah ok. Thanks. That's another option; I'll think on it. Another option has been to use precedence -- check the local directory first, and if not there then check for a package. B/c of the caps convention this will almost always work without a problem, and one can still force it either way if need be. Just not sure if that bit of ambiguity, even as unlikely as it is to trip any one up, is worth it or not.
