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

Re: small integers



> Before someone suggests it, I don't like the idea of making + use "correct"
> maybe-bignum semantics in all situations, forcing the user to write fixnum+
> to get the more efficient fixnum-only form.  Some users will wirte a lot of
> fixnum-only code, and we shouldn't force them to make their code ugly in
> this way.  So I think the big switch that affects the interpretation of +,
> -, and friends is an important feature of this proposal.

Define a module that imports the Dylan module variable "+" under the name 
"generalized+" and the Dylan module variable "fix+" as "+" ...