all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katalin Sinkov <lispstylist@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: lisp style question
Date: Sun, 5 Dec 2010 10:22:31 -0800 (PST)	[thread overview]
Message-ID: <d2049a2f-7439-42cd-9f04-0922e1387ebc@d8g2000yqf.googlegroups.com> (raw)
In-Reply-To: 87zkslgk3c.fsf@mail.geddis.org

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
> ___________________________________________________________________________­____
> Don Geddis                  http://don.geddis.org/              d...@geddis.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 this?
> And radio operates exactly the same way: you send signals here, they receive
> them there.  The only difference is that there is no cat.
>         -- Albert Einstein, when asked to describe radio



  parent reply	other threads:[~2010-12-05 18:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ef033328-1f7d-49e9-8b1b-1e4e1f6edcb5@d8g2000yqf.googlegroups.com>
     [not found] ` <82vd3ceexc.fsf@shevek.netfonds.no>
2010-12-03  1:11   ` lisp style question Katalin Sinkov
     [not found]     ` <87zkslgk3c.fsf@mail.geddis.org>
2010-12-05 18:22       ` Katalin Sinkov [this message]
2010-12-05 20:51     ` RG
     [not found]       ` <87aakjkg2i.fsf@kuiper.lan.informatimago.com>
2010-12-06  5:45         ` RG
2012-11-05 23:33 Rivka Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2049a2f-7439-42cd-9f04-0922e1387ebc@d8g2000yqf.googlegroups.com \
    --to=lispstylist@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.