public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Shawn Wagner <shawnw.mobile@gmail.com>
To: Zachary Kurmas <kurmasz@gvsu.edu>
Cc: "kawa@sourceware.org" <kawa@sourceware.org>
Subject: Re: Does Kawa library have a sort function?
Date: Sun, 21 Aug 2022 12:29:54 -0700	[thread overview]
Message-ID: <CAMHuZZ2wNmsMDX+d6nzvrEdOnJkdhogi6f5u+AQFf-3zPQb2hA@mail.gmail.com> (raw)
In-Reply-To: <D3219A9A-79B2-43AF-A9A3-0238683E5425@gvsu.edu>

Besides the SRFI-95 functions (Need to use `(import (srfi 95))` to use
them, you can use java library methods too:

(define foo (list 5 4 9 1))
(java.util.Collections:sort foo) ; foo now 1 4 5 9


On Sun, Aug 21, 2022 at 12:07 PM Zachary Kurmas via Kawa <
kawa@sourceware.org> wrote:

>
> Does the Kawa library have a sort function?  (I don’t see one in the
> index: https://www.gnu.org/software/kawa/Overall-Index.html)
>
> Thanks,
>
> Zack
>
>
> --
> Zachary Kurmas
> Associate Professor of Computer Science
> Grand Valley State University
> http://www.cis.gvsu.edu/~kurmasz
>
>

      parent reply	other threads:[~2022-08-21 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 19:06 Zachary Kurmas
2022-08-21 19:11 ` Arvydas Silanskas
2022-08-21 19:29 ` Shawn Wagner [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=CAMHuZZ2wNmsMDX+d6nzvrEdOnJkdhogi6f5u+AQFf-3zPQb2hA@mail.gmail.com \
    --to=shawnw.mobile@gmail.com \
    --cc=kawa@sourceware.org \
    --cc=kurmasz@gvsu.edu \
    /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).