Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion lisp style question

Path: g2news1.google.com!postnews.google.com!d8g2000yqf.googlegroups.com!not-for-mail
From: Katalin Sinkov <lispstyl...@gmail.com>
Newsgroups: comp.lang.lisp,comp.emacs,gnu.emacs.help
Subject: Re: lisp style question
Date: Sun, 5 Dec 2010 10:22:31 -0800 (PST)
Organization: http://groups.google.com
Lines: 50
Message-ID: <d2049a2f-7439-42cd-9f04-0922e1387ebc@d8g2000yqf.googlegroups.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>
NNTP-Posting-Host: 75.31.71.74
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1291573351 31813 127.0.0.1 (5 Dec 2010 18:22:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 5 Dec 2010 18:22:31 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d8g2000yqf.googlegroups.com; posting-host=75.31.71.74; posting-account=q8u0hAoAAAA7uZRsDFj29PQdwm_l8nyT
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0; {83B3ACED-AC9F-2058-FD69-DBCDCD722B97}; (R1 1.5)),gzip(gfe)

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 ?

HTH

>         -- Don
> _________________________________________________________________________=
__=AD____
> Don Geddis                  http://don.geddis.org/              d...@gedd=
is.org
> You see, wire telegraph is a kind of a very, very long cat. You pull his =
tail
> in New York and his head is meowing in Los Angeles.  Do you understand th=
is?
> And radio operates exactly the same way: you send signals here, they rece=
ive
> them there.  The only difference is that there is no cat.
>         -- Albert Einstein, when asked to describe radio