public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* unrecognized pattern operator list
@ 2023-10-09 14:48 Damien Mattei
  2023-10-09 20:18 ` Damien Mattei
  0 siblings, 1 reply; 8+ messages in thread
From: Damien Mattei @ 2023-10-09 14:48 UTC (permalink / raw)
  To: kawa mailing list

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-11  7:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 14:48 unrecognized pattern operator list Damien Mattei
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

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).