GNU bug report logs - #67760
Add the guile-srfi-232 package for curried procedures

Previous Next

Package: guix-patches;

Reported by: 無無 <yuvallangerontheroad <at> gmail.com>

Date: Mon, 11 Dec 2023 01:16:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67760 in the body.
You can then email your comments to 67760 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67760; Package guix-patches. (Mon, 11 Dec 2023 01:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 無無 <yuvallangerontheroad <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 11 Dec 2023 01:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 無無 <yuvallangerontheroad <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: Add the guile-srfi-232 package for curried procedures
Date: Mon, 11 Dec 2023 03:14:40 +0200
[Message part 1 (text/plain, inline)]
(This is my first submission to Guix)

This package adds Wolfgang Corcoran-Mathe's library for curried procedures.

Its specification:

https://srfi.schemers.org/srfi-232/srfi-232.html

The SRFI-232's repository:

https://github.com/scheme-requests-for-implementation/srfi-232

Many thanks,
Yuval Langer.
[0001-Add-the-guile-srfi-232-package-for-curried-procedure.patch (text/x-patch, attachment)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 05 Jan 2024 16:27:02 GMT) Full text and rfc822 format available.

Notification sent to 無無 <yuvallangerontheroad <at> gmail.com>:
bug acknowledged by developer. (Fri, 05 Jan 2024 16:27:02 GMT) Full text and rfc822 format available.

Message #10 received at 67760-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 無無 <yuvallangerontheroad <at> gmail.com>
Cc: 67760-done <at> debbugs.gnu.org
Subject: Re: bug#67760: Add the guile-srfi-232 package for curried procedures
Date: Fri, 05 Jan 2024 17:25:34 +0100
[Message part 1 (text/plain, inline)]
Hi,

無無 <yuvallangerontheroad <at> gmail.com> skribis:

> From c88c0502b2036c7a33fcb9c402de69eb14634831 Mon Sep 17 00:00:00 2001
> Message-Id: <c88c0502b2036c7a33fcb9c402de69eb14634831.1702256938.git.yuval.langer <at> gmail.com>
> From: Yuval Langer <yuval.langer <at> gmail.com>
> Date: Mon, 11 Dec 2023 03:00:50 +0200
> Subject: [PATCH] Add the guile-srfi-232 package for curried procedures.
>
> ---
>  gnu/packages/guile-xyz.scm | 51 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 51 insertions(+)

Applied with the changes below, thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 6df9fc851f..75e3754046 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3858,8 +3858,7 @@ (define-public guile-srfi-232
     (arguments
      (list
       #:phases
-      #~(modify-phases
-            %standard-phases
+      #~(modify-phases %standard-phases
           (add-after 'unpack 'move-and-delete-things
             (lambda _
               (let* ((srfi-directory (string-append #$output "/srfi")))
@@ -3881,14 +3880,14 @@ (define-public guile-srfi-232
     (home-page "https://github.com/scheme-requests-for-implementation/srfi-232")
     (synopsis "Flexible curried procedures")
     (description
-     "Scheme lacks a flexible way to create and apply curried
-procedures.  This SRFI describes curried, a variant of lambda that
-creates true curried procedures which also behave just like ordinary
-Scheme procedures.  They can be applied to their arguments one by one,
-all at once, or anywhere in between, without any novel syntax.
-curried also supports nullary and variadic procedures, and procedures
-created with it have predictable behavior when applied to surplus
-arguments.")
+     " This package provides an implementation of
+@uref{https://srfi.schemers.org/srfi-232/srfi-232.html, SRFI-232}, which
+describes @code{curried}, a variant of @code{lambda} that creates true curried
+procedures which also behave just like ordinary Scheme procedures.  They can
+be applied to their arguments one by one, all at once, or anywhere in between,
+without any novel syntax.  @code{curried} also supports nullary and variadic
+procedures, and procedures created with it have predictable behavior when
+applied to surplus arguments.")
     (license license:expat)))
 
 (define-public emacsy

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Feb 2024 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.