public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Damien Mattei <damien.mattei@gmail.com>,
	kawa mailing list <kawa@sourceware.org>
Subject: Re: unrecognized syntax: type[args]
Date: Sat, 7 Oct 2023 08:34:58 -0700	[thread overview]
Message-ID: <2dee812b-56a9-bba0-bb63-666f8866007b@bothner.com> (raw)
In-Reply-To: <CADEOadeGVh0a3bqZiPyBG2MGqBiy9RVJ-fSebvr7LffgPbbrug@mail.gmail.com>



On 10/7/23 08:02, Damien Mattei via Kawa wrote:

> #|.....19|#       (for ((<+ k i2) (>= k i1) (<- k (+ k step)))
> #|.....20|#        (<- ($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?

It is referring to the ($bracket-apply$ container-eval k) and
($bracket-apply$ expr-eval i) which are de-sugarings of
container-eval[k] and expr-eval[i].

Specifically, container-eval and expr-eval are not valid known types.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2023-10-07 15:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07 15:02 Damien Mattei
2023-10-07 15:34 ` Per Bothner [this message]
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=2dee812b-56a9-bba0-bb63-666f8866007b@bothner.com \
    --to=per@bothner.com \
    --cc=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).