Re: Closures versus objects
Pascal Costanza <[email protected]>
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
On 16 Feb 2007, at 19:22, Gary King wrote: > If Lisp was re-written today, I'd guess that there would be more > use of generic functions for things like length. Then we would have: > > (length "butter") ==> 6 > (length #(1 2 3)) ==> 3 > > and so on... That's basically what happened in Dylan. Pascal -- Pascal Costanza, mailto:[email protected], http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium