|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] Efficient homogeneous vector iteration |
Date: | Thu, 9 Nov 2006 21:15:14 +0100 |
On 11/8/06, Kon Lovett <address@hidden> wrote:
I wonder if this couldn't be achieved by extending the 'declare' to 'begin' & 'lambda' (let, etc.). By telling the compiler what types you are working with (& implicitly the scope) a subset of Scheme is described. Also, "(declare (arithmetic full))" to automatically stop standard- bindings for generic arithmetic procs & generate a "(require- extension numbers)".
Unfortunately, "declare" isn't lexically scoped in chicken (a grave design mistake, but too pervasive to change easily). Another point is that this doesn't make handling unboxed values any easier... cheers, felix -- http://galinha.ucpel.tche.br:8081/blog/blog.ssp
[Prev in Thread] | Current Thread | [Next in Thread] |