Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Re: delete comm...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 16 of 64 Topic 12469 of 13602
Post > Topic >>

Re: delete command weirdness

by Nathaniel Calloway <ntc6@[EMAIL PROTECTED] > May 13, 2008 at 12:01 PM

Well it appears I started quite the **** storm. I know I'm not writing
the spec for CL or maintaining a particular implementation, as some of
the respondents to this thread are. However, I am not nearly as
noobish as many of my questions were taken, or as I might have
appeared. I have a very different perspective, however, and lisp is
not my first language.

I'm sorry for my snarky comments, but they were largely because of
frustration because the answers I was receiving were missing the key
questions I had. I apologize, because this is probably due to my
limited vernacular for discussing these types of questions amongst
lisp people. The original posts being at 2:00 in the morning because I
couldn't sleep, might have something else to do with it.

My initial confusion was over the fact that I thought delete was a
function was designed for its side effects, not speed, as I am informed.

>> If you did what he suggested, you would understand why the DELETE
>> function can't possibly do what you expected. No function can change a
>> binding in its caller's scope. Try it. You'll be completely stumped.

This above is indicative of where the miss-communication was. I
understand that functions cannot change bindings. However, because I
thought that delete existed for its side effects, this lead to two
questions:

Q1. Why design delete this way? Why not use a macro?

A1. Its a function you idiot! (What I realize now what people were
saying was that it is not designed for its side effects, but hopefully
you can understand why exactly I thought that was a non-sequitur)

Q2. Why exactly can delete destructively change how the cdrs in its
target list are bound? IE if changing the binding of variables is
forbidden, what exactly is different about the cdr's in the list?

A2. ....

This is where my lack of understanding of lisp comes in. This is also
where my vernacular is lacking. If I can explain it in terms of
pointing, using my original example:

testing -> (a . -> (b . -> (c . -> (d . -> nil)))

You follow?

Where exactly is this description wrong? (I am assuming it is in some
way).

If this is accurate, then why are changing some assignments forbidden?
For the sake of keeping things "functional?"

> Yeah, but I was completely wrong when I said the light would then go
> on for Natty Dread: this clown is so wrapped up in what he "knows"
> that he cannot hear a word we say.
>
> I hope he stays around, he's funny. :)

Yes, you have proved how stupid I am. I'm glad to have amused you. I
hope I have explained why exactly "I didn't hear" what you were
saying, why I thought the discussion was pedantic, and why I've
reposted this so we can rip into eachother some more.

-Nat
 




 64 Posts in Topic:
delete command weirdness
Nathaniel Calloway <nt  2008-05-12 22:06:22 
Re: delete command weirdness
christopher.jay.jones@[EM  2008-05-12 20:18:16 
Re: delete command weirdness
vanekl <vanek@[EMAIL P  2008-05-12 20:30:24 
Re: delete command weirdness
Ken Tilton <kennytilto  2008-05-12 23:43:31 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 01:18:20 
Re: delete command weirdness
Barry Margolin <barmar  2008-05-13 01:37:14 
Re: delete command weirdness
Barry Margolin <barmar  2008-05-13 01:42:59 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 01:57:29 
Re: delete command weirdness
Peter Hildebrandt <pet  2008-05-13 09:51:03 
Re: delete command weirdness
usenet2.3.CalRobert@[EMAI  2008-05-13 20:59:47 
Re: delete command weirdness
usenet2.3.CalRobert@[EMAI  2008-05-13 19:06:55 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 01:29:49 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-13 15:50:36 
Re: delete command weirdness
Paul Donnelly <paul-do  2008-05-13 01:49:29 
Re: delete command weirdness
Ken Tilton <kennytilto  2008-05-13 09:50:31 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 12:01:12 
Re: delete command weirdness
Rainer Joswig <joswig@  2008-05-13 18:22:44 
Re: delete command weirdness
Peter Hildebrandt <pet  2008-05-13 18:28:33 
Re: delete command weirdness
Ken Tilton <kennytilto  2008-05-13 13:35:10 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 13:58:57 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-14 12:21:22 
Re: delete command weirdness
Ken Tilton <kennytilto  2008-05-13 12:32:23 
Re: delete command weirdness
Geoffrey Summerhayes <  2008-05-13 01:06:51 
Re: delete command weirdness
Tomas Zellerin <zeller  2008-05-13 07:35:01 
Re: delete command weirdness
Peter Hildebrandt <pet  2008-05-13 17:58:20 
Re: delete command weirdness
David Crawford <crawfo  2008-05-13 09:16:36 
Re: delete command weirdness
kodifik@[EMAIL PROTECTED]  2008-05-13 09:53:06 
Re: delete command weirdness
Rainer Joswig <joswig@  2008-05-13 21:09:39 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-13 15:45:57 
Re: delete command weirdness
Matthias Benkard <mulk  2008-05-13 10:38:56 
Re: delete command weirdness
Matthias Benkard <mulk  2008-05-13 10:42:29 
Re: delete command weirdness
Matthias Benkard <mulk  2008-05-13 11:14:46 
Re: delete command weirdness
Barry Margolin <barmar  2008-05-14 00:06:12 
Re: delete command weirdness
danb <sogwaldan@[EMAIL  2008-05-13 13:51:59 
Re: delete command weirdness
Mark Wooding <mdw@[EMA  2008-05-14 11:50:12 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-14 14:27:46 
Re: delete command weirdness
Barry Margolin <barmar  2008-05-14 17:01:36 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-15 12:16:09 
Re: delete command weirdness
tar@[EMAIL PROTECTED] (T  2008-05-14 14:23:02 
Re: delete command weirdness
Don Geddis <don@[EMAIL  2008-05-14 10:21:20 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-15 12:28:05 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-15 19:18:21 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-16 09:45:07 
Re: delete command weirdness
tar@[EMAIL PROTECTED] (T  2008-05-16 09:43:25 
Re: delete command weirdness
tar@[EMAIL PROTECTED] (T  2008-05-15 09:14:35 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-15 19:20:58 
Re: delete command weirdness
Don Geddis <don@[EMAIL  2008-05-15 13:37:16 
Re: delete command weirdness
Lars Brinkhoff <lars.s  2008-05-17 09:22:21 
Re: delete command weirdness
"Steven M. Haflich&q  2008-05-12 22:06:07 
Re: delete command weirdness
Nathaniel Calloway <nt  2008-05-13 01:43:34 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-13 05:42:39 
Re: delete command weirdness
usenet2.3.CalRobert@[EMAI  2008-05-13 19:42:57 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-14 00:54:58 
Re: delete command weirdness
kodifik@[EMAIL PROTECTED]  2008-05-13 05:48:34 
Re: delete command weirdness
Leandro Rios <leandrop  2008-05-13 10:03:12 
Re: delete command weirdness
pjb@[EMAIL PROTECTED] (P  2008-05-13 15:56:28 
Re: delete command weirdness
Leandro Rios <leandrop  2008-05-13 11:07:01 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-13 15:35:05 
Re: delete command weirdness
kodifik@[EMAIL PROTECTED]  2008-05-13 07:13:40 
Re: delete command weirdness
rpw3@[EMAIL PROTECTED] (  2008-05-13 23:04:47 
Re: delete command weirdness
danb <sogwaldan@[EMAIL  2008-05-12 22:39:32 
Re: delete command weirdness
Kent M Pitman <pitman@  2008-05-13 06:27:32 
Re: delete command weirdness
danb <sogwaldan@[EMAIL  2008-05-13 04:10:36 
Re: delete command weirdness
tar@[EMAIL PROTECTED] (T  2008-05-13 15:53:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 19:59:23 CDT 2008.