This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Should logior (and friends) operate only on inums?
thi wrote:
>
> how about autoload? it seems to work for scheme code. if there is a C
> API, it could work for bignum extensions, too.
>
It seems non-obvious how to autoload based on numeric type of the
operand
or result of a mathematical operation without making the code for it
know at least a bit about numeric types.
For autoloading procedures it's reasonably obvious how to do do it by
procedure name only, and the procedure name has to be visible somewhere
in the code. Not so for type names.
My inclination is that the full numeric tower should be supported by
default
in the core unless someone comes up with a clearly superior design.
- Maciej