PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/CHANGES/require

http://github.com/alimoeeny/arc
#! | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | e7f2e338e155f8e2367749e2d4278c30 MD5 | raw file
 1A 'require form has been added to libs.arc. 'require takes a filename and loads
 2it if and only if it has not been required before. 'require, like load,
 3interprets paths relative to the current directory.
 4
 5Currently you can fool 'require by giving it a different name for the same file
 6(giving an absolute versus relative path, or prefixing with "./"). This is
 7considered a bug and may be fixed in future. Another possible future feature is
 8reloading a file if it has changed (as determined by its mtime, probably) since
 9it was last required.
10
11'require was added to libs.arc rather than being in load/ so that autoloaded
12files can use it for load-ordering; see CHANGES/autoload.