3 Loading a System

(alpm-load-system "geometry" nil)

This finds ‘geometry.alpm’, registers the definition, computes the load order from the dependencies (‘points’, then ‘lines’, then ‘circles’), checks that every file exists before loading anything, and loads them. It returns the system name on success.

Loading it a second time in the same session does nothing (it is already loaded). After editing sources, force a reload:

(alpm-load-system "geometry" T)      ; reload this system's files
(alpm-load-system "geometry" 'all)   ; ... and all its dependencies too