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