public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: "Jakub T. Jankiewicz" <jcubic@jcubic.pl>
To: kawa@sourceware.org
Subject: SRFI-251
Date: Wed, 8 May 2024 22:49:29 +0200	[thread overview]
Message-ID: <20240508224929.70179bf0@jcubic> (raw)

Just FYI, this SRFI can be added to list of supported SRFI, since this
how it works in Kawa, not like in R7RS suppose to work.

https://srfi.schemers.org/srfi-251/

I just realized that my implementation LIPS Scheme also work in the same way,
I'm adding this to the list of supported SRFI, you may want to do the same.

This is example code that is not valid according to R7RS, but valid when
SRFI-251 is implemented:

(let ((x 0))
  (display "the result is")
  (define (foo) x)
  (display ": ")
  (define xx 42)
  (display (foo)))

Because define is not at the top of the body, like variables in C programming
language.

Jakub

--
Jakub T. Jankiewicz, Senior Front-End Developer
https://jcubic.pl/me
https://lips.js.org
https://koduj.org

             reply	other threads:[~2024-05-08 20:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-08 20:49 Jakub T. Jankiewicz [this message]
2024-05-09  4:38 ` SRFI-251 Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240508224929.70179bf0@jcubic \
    --to=jcubic@jcubic.pl \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).