guile-user
[Top][All Lists]
Advanced

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

Re: for with break and continue


From: Damien Mattei
Subject: Re: for with break and continue
Date: Mon, 5 Sep 2022 10:46:22 +0200

very interesting.
Finally is our functions,at least one, for/bc compatible with R6RS? i can
not exactly figure it exactly, i see at leats identifier-syntax not in the
library index:
http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-21.html#node_index_start
one day i will have to read the Dybvig article to understand all
that.Perhaps in a near future. ;-)
Damien


On Mon, Sep 5, 2022 at 2:42 AM Jean Abou Samra <jean@abou-samra.fr> wrote:

>
>
> Le 04/09/2022 à 16:41, Damien Mattei a écrit :
> > yes in fact a lot of function related to syntax (datum->syntax, etc)
> > are not in R6RS and R7RS-small,
>
>
> datum->syntax actually *is* R6RS, in the "libraries" document. See
> http://www.r6rs.org/final/r6rs-lib.pdf page 55.
>
> (It is not in R7RS small, since R7RS small doesn't even have syntax-case.)
>
>
> > i have to keep that in mind because i want to write a library that
> > could be portable between scheme implementation and that support
> > curly-infix ,less than a number of scheme that count with the fingers
> > of an hand ,at the end.... :-) but 'for was a disgression,i know
> > 'while of guile, again not standard...
> >
> > Regards,
> > Damien
> >
> > On Sun, Sep 4, 2022 at 2:40 PM Jean Abou Samra <jean@abou-samra.fr>
> wrote:
> >
> >
> >
> >     Le 04/09/2022 à 14:00, Damien Mattei a écrit :
> >     > yes very good
> >     > then break si not overwritten, using module, i do not know if
> >     modules
> >     > is finally standardised in R6RS, and in guile?
> >
> >
> >
> >     Guile supports R6RS libraries, but it's not the same as its
> >     traditional
> >     use-modules/define-module forms.
> >
> >
> https://www.gnu.org/software/guile/manual/html_node/R6RS-Libraries.html
> >
> >     But you're going to have a much more pressing problem with
> >     standardization: syntax parameters are not standard. So you're a bit
> >     stuck there.
> >
> >
> >
> >     > a few problem with module i hope to fix it later but it works with
> >     > your example, not sure let/ec is standart?
> >
> >
> >     let/ec is not standard, but exceptions are. See section 7 of the
> >     libraries document of R6RS:
> >
> >     http://www.r6rs.org/final/r6rs-lib.pdf
> >
> >     Best,
> >     Jean
> >
>
>


reply via email to

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