Hello Kawaites,
Sorry to be a pest, but I've run into another issue while trying to
write Android applications in Kawa Scheme: I can't use the 'for-each'
form in my code. A sample activity for testing this:
(require 'android-defs)
(activity
hello
(on-create-view
(let ((tv (android.widget.TextView (this))))
(tv:setText "Hello, Android from Kawa Scheme!\n")
(for-each (lambda (x)
(tv:append "hi\n"))
'(1 2 3))
tv)))
I tried this with two versions of Kawa 1.11 from source: 1.11 from ftp
(ftp://ftp.gnu.org/pub/gnu/kawa/kawa-1.11.tar.gz), and the latest from
SVN (rev. 6926). I'm on Windows, so both were compiled via "ant
-Denable-android=true".
With the SVN source, the code does not compile; "ant debug" gets stuck
at the scompile stage.