From: Damien Mattei <damien.mattei@gmail.com>
To: Per Bothner <per@bothner.com>
Cc: kawa mailing list <kawa@sourceware.org>
Subject: Re: meaning of | in scheme
Date: Tue, 7 Nov 2023 17:00:47 +0100 [thread overview]
Message-ID: <CADEOadf7Y2SZGekCWnDLwp-zSGz4+fwhAirtGeOV_KUeCQ+U5g@mail.gmail.com> (raw)
In-Reply-To: <0ac48fb9-1055-4339-b22c-fb3f8fdbc003@bothner.com>
problem is in the parser i use, i do not see where the | | are
generated , the code is not from me, i just modified it. I do not see
any | added in the code, i suppose a scheme procedure generate them
but i do not know which one.
On Tue, Nov 7, 2023 at 4:25 PM Per Bothner <per@bothner.com> wrote:
>
>
>
> On 11/7/23 02:43, Damien Mattei via Kawa wrote:
> > #|kawa:4|# |java.lang.Math:random|
> > /dev/tty:4:1: warning - no declaration seen for java.lang.Math:random
> > #|kawa:5|# java.lang.Math:random
> > Type double java.lang.Math.random()
>
> Characters between || are read as "non-special" symbol-constituents.
> So |java.lang.Math:random| is the same as java.lang.Math|:|random
> which is the same as java.lang.Math\:random. All disable the
> special handling of colon.
>
> This behavior matches Common Lisp (and probably some other Schemes).
>
> > why it does not offend scheme procedure? (and why is it a problem with
> > java imported methods)
>
> I have no idea what you're asking here.
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
prev parent reply other threads:[~2023-11-07 16:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 10:43 Damien Mattei
2023-11-07 10:51 ` Damien Mattei
2023-11-07 15:24 ` Per Bothner
2023-11-07 16:00 ` Damien Mattei [this message]
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=CADEOadf7Y2SZGekCWnDLwp-zSGz4+fwhAirtGeOV_KUeCQ+U5g@mail.gmail.com \
--to=damien.mattei@gmail.com \
--cc=kawa@sourceware.org \
--cc=per@bothner.com \
/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).