lib
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).
highlights
- 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)
installation
Within SWI it is highly recommended that you install from within by using its package manager.
To install simply do:
?- pack_install(lib).
And then load by:
?- use_module( library(lib) ).
materials
module documentation:
lib.html
sources: lib
github: stoics.infra/lib
author
Nicos Angelopoulos
---
London
March, 2017- April 2019