From: Damien Mattei <damien.mattei@gmail.com>
To: kawa mailing list <kawa@sourceware.org>
Subject: unrecognized pattern operator list
Date: Mon, 9 Oct 2023 16:48:00 +0200 [thread overview]
Message-ID: <CADEOadcXm9+C=KUJy5Um9atM5WNTXT=C+CukMOwJ3eoKYH1zVQ@mail.gmail.com> (raw)
hello,
in this code belonging from Guile and Racket version:
(match (list index1-or-keyword-eval-pos index2-or-keyword-eval-pos
index3-or-keyword-or-step-eval-pos)
;; {a <+ (make-vector 7 0)}
;; '#(0 0 0 0 0 0 0)
;; > {a[$ $] <- #(1 2 3)}
;; > a
;; '#(1 2 3 0 0 0 0)
((list (== slice) (== slice))
(container-copy! container-eval
0
expr-eval)
i have this error:
unrecognized pattern operator list near ((list (== slice) i2 (== slice))
slice is defined like that:
(define $ '$)
(define slice $)
what is the equivalent syntax for kawa?
damien
next reply other threads:[~2023-10-09 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 14:48 Damien Mattei [this message]
2023-10-09 20:18 ` Damien Mattei
2023-10-09 20:26 ` Panicz Maciej Godek
2023-10-09 21:07 ` Damien Mattei
2023-10-10 5:33 ` Damien Mattei
2023-10-10 6:44 ` Damien Mattei
2023-10-10 7:03 ` Damien Mattei
2023-10-11 7:25 ` 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='CADEOadcXm9+C=KUJy5Um9atM5WNTXT=C+CukMOwJ3eoKYH1zVQ@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).