[Ecls-list] Re: Decimal Numbers

GP lisper spambait at CloudDancer.com
Sun Aug 21 11:39:00 UTC 2005


On Fri, 19 Aug 2005 15:42:44 -0400, <marcoxa at cs.nyu.edu> wrote:
>
> What is wrong with
>
> (in-package "DECIMAL")
> (shadow '(cl:+ cl:- cl:* cl:/ cl:=))

Just my ignorance apparently.  Somehow, I had formed the notion that I
could not 'overload' operators in lisp.  Your suggestion needs a bit
of elbow grease, but it is much easier than mine.  Thank you for
pointing this approach out.


-- 
Program A uses CLOS, Program B is implemented with structs, leading
to a fourfold increase in execution speed.  --J. B. Heimatseiten





More information about the ecl-devel mailing list