guile-user
[Top][All Lists]
Advanced

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

Re: Simple list of key-value pairs?


From: Luis Felipe
Subject: Re: Simple list of key-value pairs?
Date: Thu, 08 Jul 2021 18:59:43 +0000

Hi,

On Thursday, July 8th, 2021 at 2:37 PM, Hartmut Goebel 
<h.goebel@crazy-compilers.com> wrote:

> Anyhow, I'm wondering whether the
>
> quite and quasiquote can be replaced by something simpler.

> (api-uri "https://ci.guix.gnu.org"; "/api/jobs")
>
> (api-uri "https://ci.guix.gnu.org"; "/api/jobs"
>
>      `("nr" ,limit)      `("evaluation" ,evaluation)
>
>      `("system" ,#f))

Would it be simpler to create the pairs like this?

(cons "nr" limit)
(cons "evaluation" evaluation)
(cons "system" #false)



reply via email to

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