public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Duncan Mak <duncanmak@gmail.com>
To: Per Bothner <per@bothner.com>
Cc: kawa mailing list <kawa@sourceware.org>
Subject: Re: Going from Scheme list to Java array
Date: Mon, 22 Jun 2020 20:28:26 -0400	[thread overview]
Message-ID: <CABgWrqoNFghEKRXQBnVHw3WW8n1Nxe1vVsr5NopbPhyxYFtO0A@mail.gmail.com> (raw)
In-Reply-To: <f8eea027-25e7-c659-d699-dc37ba07ef75@bothner.com>

Yes, it works. It might be a good idea to mention java arrays explicitly in
that section of the documentation too.

I was reading these 2 pages pretty carefully when I was trying to write my
INTO-ARRAYS function:

https://www.gnu.org/software/kawa/tutorial/Sequences.html
https://www.gnu.org/software/kawa/Array-operations.html


Duncan.

On Mon, Jun 22, 2020 at 8:08 PM Per Bothner <per@bothner.com> wrote:

> Does using splicing+constructor seem like a goo solution to you?
>
> On 6/22/20 9:58 AM, Per Bothner wrote:
> > (define l1 '(df 12 (3 4) abc))
> > (object[] @l1)
> > ==> [df 12 (3 4) abc]
>
>
>
> --
>         --Per Bothner
> per@bothner.com   http://per.bothner.com/
>


-- 
Duncan.

  reply	other threads:[~2020-06-23  0:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 16:26 Duncan Mak
2020-06-22 16:58 ` Per Bothner
2020-06-23  0:08   ` Per Bothner
2020-06-23  0:28     ` Duncan Mak [this message]
2020-06-23 17:23       ` Per Bothner
2020-06-23  0:02 ` Per Bothner
2020-06-23  0:05   ` Duncan Mak
2020-06-23 11:10   ` spellcard199
2020-06-23 17:34     ` Per Bothner

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=CABgWrqoNFghEKRXQBnVHw3WW8n1Nxe1vVsr5NopbPhyxYFtO0A@mail.gmail.com \
    --to=duncanmak@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).