From: Damien Mattei <damien.mattei@gmail.com>
To: kawa mailing list <kawa@sourceware.org>
Subject: unrecognized syntax: type[args]
Date: Sat, 7 Oct 2023 17:02:52 +0200 [thread overview]
Message-ID: <CADEOadeGVh0a3bqZiPyBG2MGqBiy9RVJ-fSebvr7LffgPbbrug@mail.gmail.com> (raw)
#|kawa:11|# (define (copy-stepped-slice container-eval expr-eval i1 i2 step)
#|.....12|#
#|.....13|# (when (= step 0)
#|.....14|# (error "assignment : slice step cannot be zero"))
#|.....15|#
#|.....16|# (<+ i 0)
#|.....17|#
#|.....18|# (if (< step 0) ;; with negative index we start at end of
vector (like in Python)
#|.....19|# (for ((<+ k i2) (>= k i1) (<- k (+ k step)))
#|.....20|# (<- ($bracket-apply$ container-eval k)
($bracket-apply$ expr-eval i))
#|.....21|# (<- i (+ i 1)))
#|.....22|#
#|.....23|# (for ((<+ k i1) (< k i2) (<- k (+ k step)))
#|.....24|# (<- ($bracket-apply$ container-eval k)
($bracket-apply$ expr-eval i))
#|.....25|# (<- i (+ i 1)))))
/dev/tty:20:44: unrecognized syntax: type[args]
/dev/tty:24:44: unrecognized syntax: type[args]
what does it means?
next reply other threads:[~2023-10-07 15:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 15:02 Damien Mattei [this message]
2023-10-07 15:34 ` Per Bothner
2023-10-07 16:30 ` Damien Mattei
2023-10-07 16:34 ` Damien Mattei
2023-10-07 16:42 ` Per Bothner
2023-10-07 16:59 ` Damien Mattei
2023-10-08 8:11 ` Damien Mattei
2023-10-08 9:02 ` Damien Mattei
2023-10-08 9:15 ` Damien Mattei
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=CADEOadeGVh0a3bqZiPyBG2MGqBiy9RVJ-fSebvr7LffgPbbrug@mail.gmail.com \
--to=damien.mattei@gmail.com \
--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).