public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Damien MATTEI <Damien.Mattei@unice.fr>
To: kawa@sourceware.org
Subject: Re: Kawa JTable String[][] arrays
Date: Thu, 09 Nov 2017 09:35:00 -0000	[thread overview]
Message-ID: <201711091035.43692.Damien.Mattei@unice.fr> (raw)
In-Reply-To: <trinity-7674b18c-b1b6-49e9-a7a7-46c0d172acfc-1510218373929@3c-app-gmx-bs67>

hello Fabian,

i never use JTables in java and not sure it exists something like that in Kawa,
as Scheme does not have multiple array dimensions i write some code do do it:
https://github.com/damien-mattei/library-FunctProg/blob/master/array.scm
i have test it with kawa and it works

i just checked the existence of multidimension array features for scheme and there exists the SRFI 25
https://srfi.schemers.org/srfi-25/srfi-25.html

the latest version of Kawa seems to implement it (i cannot test it on my old installation):
https://www.gnu.org/software/kawa/Arrays.html

hope something is matching the Jtable in a compatible way.
regards,
damien


Le Thursday 09 November 2017 10:06:13 Fabian Boucsein, vous avez écrit :
> Hello fellow Kawa scheme users,
>  
> i am experimenting with JTables in Kawa. I'm stuck with the creation of an String[][] array.
> Is ist possible to create one?
> 
> Something like this in Java:
> String[][] rowData = {
>     { "Japan", "245" }, { "USA", "240" }, { "Italy", "220" }
> }
>   
> Also i would like to say thank you, for the creation of such a pleasant to work with Scheme
> implementation for the JVM. I love it!
>  
> Kind regards,
> Fabian
> 


      parent reply	other threads:[~2017-11-09  9:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09  9:06 Fabian Boucsein
2017-11-09  9:11 ` Tom Bousso
2017-11-09 18:14   ` Per Bothner
2017-11-10 15:44     ` Fabian Boucsein
2017-11-10 16:02       ` Per Bothner
2017-11-09  9:35 ` 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=201711091035.43692.Damien.Mattei@unice.fr \
    --to=damien.mattei@unice.fr \
    --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).