public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Does Kawa library have a sort function?
@ 2022-08-21 19:06 Zachary Kurmas
  2022-08-21 19:11 ` Arvydas Silanskas
  2022-08-21 19:29 ` Shawn Wagner
  0 siblings, 2 replies; 3+ messages in thread
From: Zachary Kurmas @ 2022-08-21 19:06 UTC (permalink / raw)
  To: kawa


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does Kawa library have a sort function?
  2022-08-21 19:06 Does Kawa library have a sort function? Zachary Kurmas
@ 2022-08-21 19:11 ` Arvydas Silanskas
  2022-08-21 19:29 ` Shawn Wagner
  1 sibling, 0 replies; 3+ messages in thread
From: Arvydas Silanskas @ 2022-08-21 19:11 UTC (permalink / raw)
  To: Zachary Kurmas; +Cc: kawa

Good day,

Yes, through srfi 95 <https://srfi.schemers.org/srfi-95/srfi-95.html> .

Arvydas

2022-08-21, sk, 22:07 Zachary Kurmas via Kawa <kawa@sourceware.org> rašė:

>
> 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
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does Kawa library have a sort function?
  2022-08-21 19:06 Does Kawa library have a sort function? Zachary Kurmas
  2022-08-21 19:11 ` Arvydas Silanskas
@ 2022-08-21 19:29 ` Shawn Wagner
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Wagner @ 2022-08-21 19:29 UTC (permalink / raw)
  To: Zachary Kurmas; +Cc: kawa

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
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-21 19:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-21 19:06 Does Kawa library have a sort function? Zachary Kurmas
2022-08-21 19:11 ` Arvydas Silanskas
2022-08-21 19:29 ` Shawn Wagner

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).