unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "J. Sims via Guix-patches" via <guix-patches@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>,
	"61070@debbugs.gnu.org" <61070@debbugs.gnu.org>
Subject: [bug#61070] gnu: packages: Add guile-simple-iterators.
Date: Sat, 28 Jan 2023 18:13:51 +0000	[thread overview]
Message-ID: <tRQdesjVCBattiTmu7-HbadbfdoarfgQeDzkylAdcVgajsT8K5bWQrL5Vgl8p6USpq8QoY5q5EIFpyFpOSxfzWgTptt25IxhW8NcZ6TaQo4=@protonmail.com> (raw)
In-Reply-To: <P5Vw3b_-u1U9ZyGg9_CMuE6Q3SjpaGG6U2YfuhID4xwKY_dyWYoaQu9RF-fVF7MbwC9l2s8iwr2h8gVGo-gEBMOfjCXbIlonh_9u_wiSnBM=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On Saturday, January 28th, 2023 at 11:58, J. Sims <jtsims@protonmail.com> wrote:

> I'm not sure I understand what you mean. Dedent the hash? And how so?

Scratch that, I figured it out. I really need to start double-checking guix style's work...

I've gone ahead and written up the patch, too, so just ignore my previous message.

Thanks,
Juli

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-packages-Add-guile-simple-iterators.patch --]
[-- Type: text/x-patch; name=0001-gnu-packages-Add-guile-simple-iterators.patch, Size: 2346 bytes --]

From 4a978ce60c1115c01f94df76a9166d3cd3ab71e5 Mon Sep 17 00:00:00 2001
From: Juliana Sims <jtsims@protonmail.com>
Date: Wed, 25 Jan 2023 21:07:54 -0600
Subject: [PATCH] gnu: packages: Add guile-simple-iterators.

* gnu/packages/guile-xyz.scm (guile-simple-iterators): Add guile-simple-iterators.
---
 gnu/packages/guile-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 0befff1576..8e33ef5bc7 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2023 Juliana Sims <jtsims@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2600,6 +2601,40 @@ (define-public guile-lib
     ;; details.
     (license license:gpl3+)))
 
+(define-public guile-simple-iterators
+  (let ((commit "50f16a2b2aa57e657e52e19fb3c35bdc182cfa36")
+        (revision "0"))
+    (package
+      (name "guile-simple-iterators")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://gitlab.com/dustyweb/guile-simple-iterators")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1m1wirlnfwmp5a4rpszd5qsbwabz4ji033w6p2714p1r524ylah8"))))
+      (build-system guile-build-system)
+      (native-inputs (list guile-3.0))
+      (home-page "https://gitlab.com/dustyweb/guile-simple-iterators")
+      (synopsis "Simple iterators for Guile")
+      (description
+       "This is a collection of iteration macros for Guile. They are inspired by
+@code{racket}'s family of iterators. Specifically, the following iterators are
+available:
+@itemize
+@item @code{for}
+@item @code{for/map}
+@item @code{for/c}
+@item @code{for/fold}
+@item @code{for/fold-right}
+@item @code{for/folder}
+@item @code{folder}
+@end itemize")
+      (license license:asl2))))
+
 (define-public guile2.0-lib
   (package
     (inherit guile-lib)

base-commit: a84ceaa8b2e8e121957afea1d1d3fe7c8141cb8d
-- 
2.39.1


  reply	other threads:[~2023-01-28 18:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26  3:16 [bug#61070] gnu: packages: Add guile-simple-iterators J. Sims via Guix-patches via
2023-01-28  6:32 ` Liliana Marie Prikler
2023-01-28 17:58   ` J. Sims via Guix-patches via
2023-01-28 18:13     ` J. Sims via Guix-patches via [this message]
2023-01-28 18:26     ` Liliana Marie Prikler
2023-02-05  6:20       ` bug#61070: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='tRQdesjVCBattiTmu7-HbadbfdoarfgQeDzkylAdcVgajsT8K5bWQrL5Vgl8p6USpq8QoY5q5EIFpyFpOSxfzWgTptt25IxhW8NcZ6TaQo4=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=61070@debbugs.gnu.org \
    --cc=jtsims@protonmail.com \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).