[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] The point of 'provide'
From: |
John Cowan |
Subject: |
Re: [Chicken-users] The point of 'provide' |
Date: |
Sun, 3 Jan 2010 14:53:50 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Scripsi:
> There's a bug here, as shown by the traceback:
>
> (##core#begin (##sys#require (quote foo)) (import foo))
>
> This is an attempt to require *and then* import, but it cannot work,
> because import is a macro and does its work at macroexpansion time,
> whereas ##sys#require is a procedure and does its work at runtime.
Specifically, ##core#require-extension should be calling ##sys#import
(which *is* a procedure) rather than plain import. Unfortunately,
I cannot find the definition of ##core#require-extension.
--
A few times, I did some exuberant stomping about, John Cowan
like a hippo auditioning for Riverdance, though address@hidden
I stopped when I thought I heard something at http://ccil.org/~cowan
the far side of the room falling over in rhythm
with my feet. --Joseph Zitt