A stoics.infrastructure prolog pack
This library is a complete re-write of pack(requires).
It now has a proper design and a clear logic based on the experieces from pack(requires).
- lazy loading, only pick necessary code from a pack
- lib(suggests/1,2), load only if external lib/pack exists
- lib(promise/1,2), hot swapping of promised code
(only load if a relevant piece of code is called)
- private packs load private packs in src/packs;
(ideal for in-house packs that have not yet be released)
Within SWI it is highly recommended that you install from within by using its package manager.
To install simply do:
And then load by:
?- use_module( library(lib) ).
March, 2017- April 2019