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: Jean Abou Samra
Subject: Re: for with break and continue
Date: Mon, 5 Sep 2022 02:42:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0



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]