David Pirotte (2016-09-18 23:03 -0300) wrote:
> Guile-Lib is intended as an accumulation place for pure-scheme Guile modules,
> allowing for people to cooperate integrating their generic Guile modules into
> coherent library. Think "a down-scaled, limited-scope CPAN for Guile".
I wonder, would it be appropriate to add a small library for working
with property lists there?
It just provides several procedures, like plist-get, plist-fold, etc.,
(plist-delete '(#:foo 1 #:bar 2 #:foo 3) #:foo) => (#:bar 2)
(plist-get '(one 1 two 2 three 3) 'two) => 2
(plist-put '(foo 1 bar two) 'bar 2) => (bar 2 foo 1)
The code can be found here: