Message from discussion
lisp style question
Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Pascal J. Bourguignon" <p...@informatimago.com>
Newsgroups: comp.lang.lisp,comp.emacs,gnu.emacs.help
Subject: Re: lisp style question
Date: Sun, 05 Dec 2010 19:40:51 +0100
Organization: Informatimago
Lines: 44
Message-ID: <87vd38jc5o.fsf@kuiper.lan.informatimago.com>
References: <ef033328-1f7d-49e9-8b1b-1e4e1f6edcb5@d8g2000yqf.googlegroups.com>
<82vd3ceexc.fsf@shevek.netfonds.no>
<6e2fe51c-ff4c-429f-b221-a3cbe23e958f@n2g2000pre.googlegroups.com>
<87zkslgk3c.fsf@mail.geddis.org>
<d2049a2f-7439-42cd-9f04-0922e1387ebc@d8g2000yqf.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net sqoMaRIXwA/l70p+cOGC7gcMqTMKA84x1stvXILI/l44/9339Q
Cancel-Lock: sha1:MjZjYzE1NzE0YmJlYWI0MDk1YWE3ZmJiMjk0MmNmZjAwMDEyMjRmYw== sha1:bSw14l7d+w7eLiLFbZ+ckHYH0+k=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA
oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9
033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac
l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR
mV+hO/VvFAAAAABJRU5ErkJggg==
X-Accept-Language: fr, es, en
X-Disabled: X-No-Archive: no
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Katalin Sinkov <lispstyl...@gmail.com> writes:
> On Dec 4, 4:05 pm, Don Geddis <d...@geddis.org> wrote:
>> Katalin Sinkov <lispstyl...@gmail.com> wrote on Thu, 2 Dec 2010 :
>>
>> > what is "setf" and how to write it in terms of the elementary
>> > functions, car/cdr/cons/quote/cond/atom/eq ?
>>
>> Unlike your subject line, this is no longer a "lisp style" question.
>
>> That's fine, but before asking "style" questions, you ought to learn
>> some lisp. Get an introductory tutorial (there are good free ones
>> online!), try some examples. After you learn a bit of lisp, and can
>> write simple programs, perhaps then you can come back with some style
>> questions.
>
> OK, I read the papers by McCarthy and the evaluator.
>
>> You just don't know lisp.
>
> Do you know lisp ? Do you even know how to fork off another thread if
> that is your issue with the heading ? Also, style cannot be decoupled
> from skill of language. Even if you learnt all the C, you could not
> write a C++ style virtual class in it unless you had the skill. The
> most you would be able to achieve would be methods with function
> pointers.
>
>> Oh, and by the way: the functions your listed are not "the elementary
>> functions" (lisp has lots of functions, and there is no unique
>> elementary subset); nor can SETF be written in terms of the ones you
>> listed.
>
> But you have one set provided to you on silver plate to use. Must I
> provide you with all of them before you will activate your neuron and
> lift your finger to explain how setf is implemented ?
You don't seem to know how to fork a new thread either. I'm somewhat
reluctant to answer to this setf question, in a thread that seems to
have turned to a personal flamewar.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.