[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Numbers egg interaction with other compiled code.

From: John Cowan
Subject: Re: [Chicken-hackers] Numbers egg interaction with other compiled code.
Date: Wed, 21 Oct 2009 19:00:58 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Tony Sidaway scripsit:

> Is this a bug or do I just misunderstand how Scheme is supposed to work?

No, it's that loading the numbers egg does not in any way affect code that
was compiled without it.  Your fred module doesn't know about bignums and
cannot unless you put (use numbers) into it.  That causes negative? and
the others to be properly rebound to their bignum-respecting versions.

I've been talking privately with felix about a strategy for changing
this, using hooks that the numbers egg installs procedures onto rather
than just rebinding identifiers, but he's worried about performance.

One Word to write them all,             John Cowan <address@hidden>
  One Access to find them,    
One Excel to count them all,
  And thus to Windows bind them.                --Mike Champion

reply via email to

[Prev in Thread] Current Thread [Next in Thread]