-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
Description
--no-core
is great if you don't want to pull in anything from the standard library, however, because of interdependencies between files in core, you cannot pick and choose which modules to use easily.
For example, copy
is defined in the module/file for the corresponding type, but str
for all types is defined in String. In order to load core String
routines, then, one needs to load every module that has str
defined in String.carp
. Likewise, Array
defines for
, which is needed by StaticArray
and Control
and Array
in turn requires Maybe
.
We should try to make the dependencies graph a bit simpler so that it's at least a little bit easier to use the core modules modularly.