guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile-Lib 0.2.3 released


From: Alex Kost
Subject: Re: Guile-Lib 0.2.3 released
Date: Mon, 19 Sep 2016 12:12:37 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

David Pirotte (2016-09-18 23:03 -0300) wrote:

> Hello,

Hello!

> Guile-Lib is intended as an accumulation place for pure-scheme Guile modules,
> allowing for people to cooperate integrating their generic Guile modules into 
> a
> 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.,
for example:

  (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:
<https://github.com/alezost/guile-config/blob/master/modules/al/plists.scm>.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]