2 comments

  • pmcgoron3 days ago
    Hello everyone.<p>Working Group 2 is pleased to announce the first draft of the second part of the R7RS-Large Foundations, the &quot;Procedural Fascicle&quot;. This draft encompasses the familiar block programming forms, such as lambda, let, if, or, and set!.<p>The draft is available here:<p><a href="https:&#x2F;&#x2F;r7rs.org&#x2F;large&#x2F;fascicles&#x2F;proc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;r7rs.org&#x2F;large&#x2F;fascicles&#x2F;proc&#x2F;</a><p>The biggest new feature is the ability to mix definitions and expressions in bodies, such as the body of a lambda. For example, the following is now valid:<p><pre><code> (define (map f lst) (unless (list? lst) (error &#x27;map &quot;not a list&quot; lst)) (define (map* lst acc) (if (null? lst) (reverse acc) (map* (cdr lst) (cons (f (car lst)) acc)))) (map* lst &#x27;())) </code></pre> We welcome any and all comments on the draft. Anyone can comment by<p>* Filing an issue on the R7RS-Large issue tracker &lt;<a href="https:&#x2F;&#x2F;codeberg.org&#x2F;scheme&#x2F;r7rs" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;scheme&#x2F;r7rs</a>&gt; * Sending mail to the Working Group 2 mailing list &lt;<a href="https:&#x2F;&#x2F;groups.google.com&#x2F;g&#x2F;scheme-reports-wg2" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;g&#x2F;scheme-reports-wg2</a>&gt; (you do not need a google account) * Sending mail to the Scheme Reports mailing list &lt;<a href="https:&#x2F;&#x2F;scheme-reports.simplelists.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;scheme-reports.simplelists.com&#x2F;</a>&gt; and &lt;scheme-reports@scheme-reports.org&gt; * Sending mail to the corresponding member Peter McGoron at &lt;code@mcgoron.com&gt;. I will forward your comment to the public issue tracker. Please indicate if you wish to be anonymous.
    • nextaccountic36 minutes ago
      &gt; The biggest new feature is the ability to mix definitions and expressions in bodies, such as the body of a lambda.<p>Looks like Rust. It helps macros a lot
  • bsder1 hour ago
    Delimited continuation machinery? It seems like call&#x2F;cc is becoming quite a bit more acknowledged as being overkill while the more restricted shift&#x2F;reset, control&#x2F;prompt, F-operator stuff, etc. compose better.
    • pmcgoron1 hour ago
      We plan to add delimited continuations in a later draft. What the actual API will look like is still in question. There is a proposal for a large API, like Racket&#x27;s &lt;<a href="https:&#x2F;&#x2F;srfi.schemers.org&#x2F;srfi-226&#x2F;" rel="nofollow">https:&#x2F;&#x2F;srfi.schemers.org&#x2F;srfi-226&#x2F;</a>&gt; and a minimalistic API &lt;<a href="https:&#x2F;&#x2F;srfi.schemers.org&#x2F;srfi-248&#x2F;" rel="nofollow">https:&#x2F;&#x2F;srfi.schemers.org&#x2F;srfi-248&#x2F;</a>&gt; similar-ish to Guile&#x27;s.