[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argument threading macros & combinators for guile
From: |
Linus Björnstam |
Subject: |
Re: argument threading macros & combinators for guile |
Date: |
Thu, 06 Aug 2020 22:50:14 +0200 |
User-agent: |
Cyrus-JMAP/3.3.0-143-g3d58b38-fm-20200806.002-g3d58b387 |
I forgot to say, that is a trivial fix! Just import the bindings from srfi 26
and re-export them.
This code can also be used to implement the new srfibchaij macro, although a
syntax-case one would be about two billion times shorter (and faster).
--
Linus Björnstam
On Thu, 6 Aug 2020, at 22:43, Linus Björnstam wrote:
> I have some old ones over here: https://hg.sr.ht/~bjoli/guile-threading-macros
>
> They are written using syntax-rules and I am not sure how well they
> combine with srfi-26. If srfi 26 exports auxiliary syntax, you won't be
> able to combine them since that syntax will shadow the unbound syntax
> <> and <...> used by my macros.
>
>
> Other than that, we have a srfi called chain that might be finalized
> soon. That must be srfi 190-something.
>
> --
> Linus Björnstam
>
> On Thu, 6 Aug 2020, at 21:45, vapnik spaknik wrote:
> > Hi,
> > does anyone know of guile modules containing argument threading
> > macros & combinators, e.g. similar to dash.el & dash-functional.el for
> > elisp?
> >
> > Joe.
> >
> >
>
>