From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Tournier Newsgroups: gmane.lisp.guile.bugs Subject: bug#71684: [PATCH v2] doc: Document the peek and pk procedures. Date: Fri, 13 Sep 2024 18:03:36 +0200 Message-ID: References: <87jzi45tyn.fsf@gmail.com> <20240702164418.11886-1-juli@incana.org> <878qy9glbd.fsf@gmail.com> <877cdtuixm.fsf@gmail.com> <87zfobtv9s.fsf@gmail.com> 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="35040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71684@debbugs.gnu.org, Juliana Sims To: Maxim Cournoyer Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Fri Sep 13 18:06:05 2024 Return-path: Envelope-to: guile-bugs@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 1sp8o7-0008yf-VF for guile-bugs@m.gmane-mx.org; Fri, 13 Sep 2024 18:06:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp8nx-0002o1-O3; Fri, 13 Sep 2024 12:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp8nw-0002ns-Rk for bug-guile@gnu.org; Fri, 13 Sep 2024 12:05:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sp8nw-0005V9-J3 for bug-guile@gnu.org; Fri, 13 Sep 2024 12:05:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=6I06GebsJZ/f5G6TqUj2F1InABt3+tItliczyJUru/4=; b=AD67lSnokmH5OPqIPkjwbVICnhyDSqJU+IqUAvZ2RG4n1NcqheBCeLFUZM/erbbfp4zQ7oJ4bH0RiuAoz9hS6kdPgXInwx5zfCtljidNBOTI5BVxkttmJMHRotnJK8WZTNP1q6brPQn3Q4rGlz093iHBjCPQIvT/Sti/o0f/OSWglagAFfX/CcBatP9qlG/Qrpn/MNLfrWj8b42W9IprYcO4rCH60+5JCshBi8SHWpMjdHz+7nfIdIUKMrxdaKjg+F3BjA3ylWAnNf+DJFbDuePZu68/eD3zEKG37TRihT4VryYyY9W+iz0rqWgU4nR5KJL7tLTRBc3X8avXCs+DYQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp8o5-0008P0-S2 for bug-guile@gnu.org; Fri, 13 Sep 2024 12:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 13 Sep 2024 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71684 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 71684-submit@debbugs.gnu.org id=B71684.172624350631688 (code B ref 71684); Fri, 13 Sep 2024 16:06:01 +0000 Original-Received: (at 71684) by debbugs.gnu.org; 13 Sep 2024 16:05:06 +0000 Original-Received: from localhost ([127.0.0.1]:44125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp8nC-0008F2-Ew for submit@debbugs.gnu.org; Fri, 13 Sep 2024 12:05:06 -0400 Original-Received: from mail-qv1-f45.google.com ([209.85.219.45]:46274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp8nA-0008EG-O4 for 71684@debbugs.gnu.org; Fri, 13 Sep 2024 12:05:05 -0400 Original-Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-6c358b72615so19265496d6.0 for <71684@debbugs.gnu.org>; Fri, 13 Sep 2024 09:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726243430; x=1726848230; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6I06GebsJZ/f5G6TqUj2F1InABt3+tItliczyJUru/4=; b=PvZmuo7LwC3x2cF9BGHHHEG10xgIuat5p1BDrPKGtACsaCAiWepeItUmhBPOl2eYNU g84COfoFfrdTjtCnX8P047E12NoYacAaJDvlsIHokLc7K9wJ0/8PXZbQC12frUzHTNNO MM5b4N/YmJg5JgLwLAR7itkDAaEsEKDMH8OpsJ+u6VvLgMPvWqal1K6WupB3PI7U4kP/ bwhFI6vD5cZXGzaC5IgVeiCWdXNGkgMGJ6Jrv2/PQu5vieyaOwvq2JW6jIjBYiefASQr tvhvreAwrBmmzSg8hSalu8AMtcArYOx8CL4h+K5ylUF+br5HAGVJCyZtxJkIXVQ28CUY oscA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726243430; x=1726848230; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6I06GebsJZ/f5G6TqUj2F1InABt3+tItliczyJUru/4=; b=oJ6CTTs31duvtx0tbZIAaWHlgQM1tvS+7FZQK0ISC5oBuwZ5YbKOGnyctjLARSZNzs Nvy80FBVrK7A+c/0WHZUBu9Z5gf1vQDsyMaplJZWtERCjFNAfQv9rP1ELFg7BbbKybNX qnJbtO71Q6sTSlDeVX8yCxOrCpjVvIeM++uadqZeMuz8fc3OHG0eiQEuf6hbnDTe4lxm Ca6t+j9gm/W/GYkjxqcQZJSPezDjeXPJhzZw+wB79fvvqYOPgrTy8b4Wz7VOYsPjBTZ9 B+NV6zJJ7io61C6toP4ggY6YVLWrgQj6mS2G9fTrFEqGnXXYRamBXr+VmFKqU08Tn4yM /8fQ== X-Forwarded-Encrypted: i=1; AJvYcCXOfAgdzdXjx3RZHKo0G+H08LrztfqjzcnP1r1ruYFPOHEAlyI6lWVi+jQ1G7UgQeensYfcDQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzr/KG4JXgGzID22u/dsjrY9NbWGMBprrzd8t2H6+eKGct3DhIN DvNC4EV80Mg4Txwy9RhCd0ssksNteQiatOKwwnvlW4m8W7p/W54SnqyNI/B8gR7mCS/S+qfGIuB 2WaoYMOcA7JYphauR3/SfUrmEKVM= X-Google-Smtp-Source: AGHT+IHU+k0f9U8cVYDwjCuu/0f8MK008pwVuBy9Sv7S/cKhiEjvmRXBlquKQwcDD2uMA8Ml6pI+E/Ey2iavZH1Fwrk= X-Received: by 2002:a05:6214:1749:b0:6c5:891b:15d1 with SMTP id 6a1803df08f44-6c5891b1625mr4138736d6.25.1726243429713; Fri, 13 Sep 2024 09:03:49 -0700 (PDT) In-Reply-To: <87zfobtv9s.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10973 Archived-At: Hi, On Fri, 13 Sept 2024 at 17:42, Maxim Cournoyer wrote: > >> I would suggest to apply the =E2=80=99pk=E2=80=99 on the other branch,= something as: > >> > >> --8<---------------cut here---------------start------------->8--- > >> (map (lambda (v) > >> (if (number? v) > >> (pk 'number v (number->string v)) > >> v)) > >> '(1 "2" "3" 4)) > >> --8<---------------cut here---------------end--------------->8--- > > > > I'm not sure I understand how this improves the demonstration of 'pk'. > > What does this form of the example demonstrate that the version in the > > patch does not? It's a minor change so I'm happy to make it; I just > > want to ensure that we have the best possible version of the solution > > to the problem you see. > > I'm not sure I understand the motivation too. To me the v2 patch looked > fine as-is. Becasue it shows that you can put more than only one. Qui peut le plus, peut le moins. ;-) And it also shows that you can call stuff. Well, IMHO, once 'pk' is clear for you, you do not see the difference. However, the example I suggest appears to me that it provides more information when learning. Cheers, simon