[Chicago] LISP was Factoring fun with functions in Python

Frank Duncan herbieman2000 at gmail.com
Wed Nov 14 07:06:10 CET 2012


Ha, yeah, no one really uses those.  first, second, third, rest, nth, etc.
are more common, especially when dealing with lists.

But even so, I prefer it to keywords like "final" in java where you have
eight different meanings based on context.


On Tue, Nov 13, 2012 at 11:19 PM, Damon Wang <damonwang at uchicago.edu> wrote:

>
>
> 2012/11/13 Frank Duncan <herbieman2000 at gmail.com>
>
>> http://www.lispworks.com/documentation/HyperSpec/Front/X_AllSym.htm
>>
>> Most of the symbols seem self explanatory to me...?
>>
>>
> *car*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#car>
> *case*<http://www.lispworks.com/documentation/HyperSpec/Body/m_case_.htm#case>
> *catch*<http://www.lispworks.com/documentation/HyperSpec/Body/s_catch.htm#catch>
> *ccase*<http://www.lispworks.com/documentation/HyperSpec/Body/m_case_.htm#ccase>
> *cdaaar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdaaar>
> *cdaadr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdaadr>
> *cdaar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdaar>
> *cdadar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdadar>
> *cdaddr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdaddr>
> *cdadr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdadr>
> *cdar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdar>
> *cddaar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cddaar>
> *cddadr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cddadr>
> *cddar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cddar>
> *cdddar*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdddar>
> *cddddr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cddddr>
> *cdddr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdddr>
> *cddr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cddr>
> *cdr*<http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm#cdr>
> I never realized these were all defined.  After I discovered they went all
> the way up to four levels deep, I assumed it was implemented using some
> horrible hack, like a reader macro that transformed /c[ad]*r/ into the
> appropriate series of car/cdr calls at read-time.
>
> Wang
>
>>
>>
>> On Tue, Nov 13, 2012 at 2:52 PM, Tal Liron <tal.liron at threecrickets.com>wrote:
>>
>>>  Heh, also great for neurotics, when you need to punch in 20
>>> close-parentheses signs in succession... )))))))))))))))))))))
>>>
>>>
>>> On 11/13/2012 02:48 PM, Randall Baxley wrote:
>>>
>>>   LISP like APL was born in a time of doing things with four byte words
>>> and many learned machine languages or assembly before a higher level
>>> language which builds a sort of language all of it's own and English words
>>> get shortened to three or four letter replacements.  Major dmag to spln as
>>> well.  Great for slow fingers though.
>>>
>>> --- On *Tue, 11/13/12, Tal Liron <tal.liron at threecrickets.com><tal.liron at threecrickets.com>
>>> * wrote:
>>>
>>> 3) This cuts a bite close to home: part of what I hate, hate, hate about
>>> the Lisp world (which I otherwise love) is its fetishization of
>>> succinctness. Functions have the weirdest, shortest names that tell you
>>> basically nothing about what they do. You just, like, gotta be in the know,
>>> you know? People in that world love to have philosophical discussions about
>>> how succinctness == clarity, but some of us like to get work done in the
>>> real world, don't we.
>>>
>>>
>>>
>>> _______________________________________________
>>> Chicago mailing listChicago at python.orghttp://mail.python.org/mailman/listinfo/chicago
>>>
>>>
>>>
>>> _______________________________________________
>>> Chicago mailing list
>>> Chicago at python.org
>>> http://mail.python.org/mailman/listinfo/chicago
>>>
>>>
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> http://mail.python.org/mailman/listinfo/chicago
>>
>>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20121114/b04b8f1b/attachment.html>


More information about the Chicago mailing list