This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Kawa extensions in R7RS libraries


On 07/06/2015 12:29 AM, ElÃas Alonso G.-Cornejo wrote:
The patch works correctly but raises another issue: (future ...) and
(runnable ...) are not included in (kawa base).

'runnable' appears to have been in (kawa base).
I also added 'future' and 'sleep.'

I don't know if they
should be included, but if I require kawa/lib/thread.scm with (import
thread), any attempt to call (future ...) will show the following
message:

warning - no declaration seen for lambda

And fail. I fixed it by adding (import (scheme base)) at the top of
kawa/lib/thread.scm but I'm not sure if that's the best way to do it.

Yes, that is the correct idea, though I used prim_imports instead.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]