Mail from ILUG-BOM list (Non-Digest Mode)

Kiran Jonnalagadda wrote:
> 
> Mail from ILUG-BOM list (Non-Digest Mode)
> 
> Just found this very neat interactive Lisp tutorial:
> http://www.cs.tulane.edu/www/Villamil/lisp/lisp1.html
> 
> In under half an hour I know enough to understand what each line in my
> .sawmillrc file means!
> 
> What I don't get yet is why lisp must have silly function names like
> CAR, CDR and CONS instead of straightforward methods like Python's
> indices: list[0], list[1:] and list.insert(0, value) (equivalent to the
> three above).
> 
> Any lisp aware folks care to comment on this? Nagarjuna? I'm keen on
> getting proficient with lisp for reasons of programming emacs and
> sawfish.


That is because Rossum is lisp aware.  In fact he has included many
features of lisp in python. Python is also capable of list processing.
When emacs was born almost 16 years ago, iirc, when there was not even a
thought of python.  Within emacs CAR, CDR are not redundant, on top of
that they are primitives of lisp.

Nagarjuna
_______________________________________________
Website: http://www.ilug-bom.org.in/ilug
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to