Help using Ranges

Zachary Kurmas kurmasz@gvsu.edu
Mon Jun 6 18:13:40 GMT 2022


Per was right:  I had an old version.

I grabbed the latest .jar file from the FTP server (which is version 2.1) instead of getting the jar file from inside of kawa-3.1.1.zip.  (Doh!)

Thanks,

Zack


On Jun 6, 2022, at 1:42 PM, Per Bothner <per@bothner.com<mailto:per@bothner.com>> wrote:

On 6/6/22 10:23, Zachary Kurmas via Kawa wrote:
Can someone point me to a more complete example of how to use ranges?  When I try to run the example from the documentation
#|kawa:1|# ("ABCDEFG" [1 by: 2 <: 7])
I get the error shown below.  Am I missing an include or something?
/dev/stdin:1:22: warning - no declaration seen for :

Strange - works for me:

$ kawa --version --
Kawa 3.1.1 (git describe: 3.1.1-62-gebcfcca29-dirty)
Copyright (C) 2020 Per Bothner
#|kawa:1|# ("ABCDEFG" [1 by: 2 <: 7])
BDF

Perhaps a very old (or otherwise-broken) version of Kawa?
--
--Per Bothner
per@bothner.com<mailto:per@bothner.com>   http://per.bothner.com/

--
Zachary Kurmas
Associate Professor of Computer Science
Grand Valley State University
http://www.cis.gvsu.edu/~kurmasz



More information about the Kawa mailing list