[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Announcement: goof-loop 0.1

From: Dr. Arne Babenhauserheide
Subject: Re: Announcement: goof-loop 0.1
Date: Tue, 11 May 2021 16:15:35 +0200
User-agent: mu4e 1.4.15; emacs 28.0.50

Linus Björnstam <> writes:

> I am rather pleased to announce the first beta release of goof-loop, an 
> extensible, powerful and fast looping facility for (guile) scheme. It is 
> based on (chibi loop), but adds quite a bit of nice things - most notably 
> subloops and a higher order loop protocol based on srfi-158-styled 
> generators. 
> The repo can be found here:
> Hosted documentation:
> Pattern matching, here extracting all keys in an alist
> (loop/list (((key . val) (in-list '((a . 0) (b . 1) (c .2)))))
>   key)
> Higher order loop protocol (for the :for clause scheme-value)
> (loop/list ((key (in-list '(true false sant falskt wahr falsch vrai faux)))
>             (scheme-value (in-cycle (in-list '(#t #f)))))
>   (cons key scheme-value))
> The loop expansion is usually as fast as a named let.

Very cool!

Congrats for the release — and thank you very much for sharing!

Best wishes,
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]