guix-devel
[Top][All Lists]
Advanced

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

Re: A better way to access records.


From: Leo Prikler
Subject: Re: A better way to access records.
Date: Fri, 30 Oct 2020 11:49:48 +0100
User-agent: Evolution 3.34.2

Well, the "functional" way of accessing them all in one go would be to 
  (map (cute <> foo) (list package-name package-version package-...))
But I assume you want syntax like

(let-field record field exp*)
(let-fields record (field1 field2...) exp*)

analogous to (srfi srfi-9 gnu) set-field and set-fields, am I right?

Regards, Leo




reply via email to

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