[Ecls-list] Re: Decimal Numbers
Marco Antoniotti
marcoxa at cs.nyu.edu
Mon Aug 22 13:22:06 UTC 2005
On Aug 21, 2005, at 2:31 PM, GP lisper wrote:
> 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.
You are welcome.
Incidentally this is a good way to write "extension" libraries. Once
they are "accepted", you can lobby implementors to push them in the
core language.
Cheers
--
Marco
>
>
> --
> Program A uses CLOS, Program B is implemented with structs, leading
> to a fourfold increase in execution speed. --J. B. Heimatseiten
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
--
Marco Antoniotti http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.
More information about the ecl-devel
mailing list