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"
>
> `("nr" ,limit)
IMO quotes and quasiquotes are being used perfectly well. You can use
'(system #f). However I suspect building a list of intermediate strings is
not desirable. And we may want to eliminate map and filter. How about
building the query-string piecemeal then building the final string once?
(define
Hi,
I'm seeking advice for passing simple key-value pairs to a function and
generate a string out of these values. Neither the names not the number
of keys is known in advance.
Background: This shall become a generic function for generating URI
query-strings.
My current approach please