A succinct method for sharing Arc libraries.
A call such as
does the following:
libdirectory, and it has a “
.arc” extension, it is loaded into Arc.
load: No network calls are made.
libby itself does not check if a newer version of the library is available. You decide when and if you want to upgrade.
libdirectory yet, it is downloaded from the remote site, and then, if it also has a “
.arc” extension, loaded into Arc.
libdirectory using the same directory structure as the URL. (“http://catdancer.github.com/erp.arc” is stored in “lib/catdancer.github.com/erp.arc”).
(lib "http://yoururl/other-file"), and
other-urlwill be available in the known location in the
libdirectory is different than the file at the URL).
Unconditionally downloads the URL and stores it in the
In other languagues, sharing code is complicated: you have to package it up, and then publish your package, and users have to download and install it, and then load it their program...
Following Paul Graham’s “Succinctness is Power” hypothesis, I tried to imagine what could be the quickest possible way to share and use Arc code.