[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: changes in 'require'
- From: Renato Figueiro Maia <maia@...>
- Date: Mon, 11 Jul 2005 11:33:50 -0300 (BRT)
> require"foo.bar" works as usual; but if "foo.bar" doesn't exist then try
> to require"foo" before failing.
Just out of curiosity, what's wrong with Javier's proposal? It seems
pretty simple and feasible to me.
> I don't see a problem in always trying to load "a.meta" on require"a.b"
> (don't really like the name "core" for this).
But if you really want to stick to this solution, if possible, I'd like to
ask you to pick up some uncommon file name pattern. Instead of '?/meta'
something like '?/?' or '?/YouWontWantToNameAModuleLikeThis'. ;-)
Renato Maia.