Linus Björnstam <linus.inter...@fastmail.se> 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: https://git.sr.ht/~bjoli/goof-loop
> Hosted documentation: https://bjoli.srht.site/doc.html
…
> 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,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature

Reply via email to