public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* unrecognized syntax: type[args]
@ 2023-10-07 15:02 Damien Mattei
  2023-10-07 15:34 ` Per Bothner
  0 siblings, 1 reply; 9+ messages in thread
From: Damien Mattei @ 2023-10-07 15:02 UTC (permalink / raw)
  To: kawa mailing list

#|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?

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

end of thread, other threads:[~2023-10-08  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-07 15:02 unrecognized syntax: type[args] Damien Mattei
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

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