From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luis Felipe Newsgroups: gmane.lisp.guile.user Subject: Re: Simple list of key-value pairs? Date: Thu, 08 Jul 2021 18:59:43 +0000 Message-ID: References: <410e7168-3709-c961-c894-d534782ef526@crazy-compilers.com> Reply-To: Luis Felipe Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Hartmut Goebel Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jul 08 21:08:50 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1ZOD-0009H3-Rb for guile-user@m.gmane-mx.org; Thu, 08 Jul 2021 21:08:49 +0200 Original-Received: from localhost ([::1]:49098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1ZOB-0001nD-SV for guile-user@m.gmane-mx.org; Thu, 08 Jul 2021 15:08:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ZFd-00086a-4y for guile-user@gnu.org; Thu, 08 Jul 2021 14:59:57 -0400 Original-Received: from mail4.protonmail.ch ([185.70.40.27]:49935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ZFa-0001qZ-4z for guile-user@gnu.org; Thu, 08 Jul 2021 14:59:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1625770784; bh=ZeDe/uSqkrR+tAzlmcuaSktwUo93YvyOH6gT+06tgQs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=e5PEqiVnBaw6QS5z2SivSCGq9Q3OPTiRG0R9+6ho8h6FDqCOLk3jUzWxHHqgqtZBD dUfaEH1MrvK4d8/rGjR6Rdb8OMEqxaQlaxRI2kqrtzRddXNFGAFtBCfF+msAtqNPbq VlRoX3K/G64/9mo9VRy2hmLErdBQuDZFCA7KWd/E= In-Reply-To: <410e7168-3709-c961-c894-d534782ef526@crazy-compilers.com> Received-SPF: pass client-ip=185.70.40.27; envelope-from=luis.felipe.la@protonmail.com; helo=mail4.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17644 Archived-At: Hi, On Thursday, July 8th, 2021 at 2:37 PM, Hartmut Goebel 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" > > =C2=A0=C2=A0=C2=A0 =C2=A0`("nr" ,limit) =C2=A0=C2=A0=C2=A0 =C2=A0`("evalu= ation" ,evaluation) > > =C2=A0=C2=A0=C2=A0 =C2=A0`("system" ,#f)) Would it be simpler to create the pairs like this? (cons "nr" limit) (cons "evaluation" evaluation) (cons "system" #false)