aboutsummaryrefslogtreecommitdiff
path: root/module/util/config.scm (unfollow)
Commit message (Collapse)Author
2020-04-25define-config now expands correctly.Hugo Hörnquist
2020-04-07Minor notes and fixes.Hugo Hörnquist
2020-04-03Update define-config to hopefully check pre-existing values.Hugo Hörnquist
2020-04-02Remove ensure? for configs, built in instead.Hugo Hörnquist
2020-04-01Add set-config! and get-config, along with print for debug.Hugo Hörnquist
2020-04-01Start rewrite mentioned in last commit.Hugo Hörnquist
2020-03-31Attempt at decentralized configuration system.Hugo Hörnquist
Placing all possible configuration items in a central (parameters) module scales really badly. This idea that any module can register configuration parameters is better. The current implementation however has the drawback that it requires that the module exposing the parameter is loaded before the value can be sat, but that scales even worse. A probable solution would be to abandon binding everything to guile's module system, and instead let (util config) provide a `conf-ref' and a `conf-set!' procedures. A `define-configuration' similar to emacs `defcustom' could be of use, mainly for retroactively type checking parameters.