|
What's the difference between:
(cons 'a (cons 'b 'c)) ;; (A B . C)
and
(cons 'a '(b.c)) ;; (A B.C)
I need to create the following list ((a.b).c) using cons so i'm trying to understand what that "." represents.
L.E. : I have the following (cons (cons '...
Started by daniels on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you enter (FOO.BAR) then Lisp will read it as a list with one symbol as its contents... .
If you enter FOO.BAR, then Lisp will read it as one symbol .
B.c is a symbol with a name of three characters: b, ., and c .
Between two characters is a part of a symbol.
|
|
$dml = "insert into table ..."; mysql_query($dml,$con);
The above insert something into a table.then you can check if it succeeded by either
if('' == mysql_error($con))...
or
if($id = mysql_insert_id($con))...
What's your choice and reason?
BTW,will the...
Answer Snippets (Read the full thread at stackoverflow):
Your code block should work, however the manual recommends to run... .
Mysql_error() will always throw an error if the insert operation fails, so fetching the insert_id is not really necessary as far as I can see, unless you need it for further processing .
|
|
What do you think?
If you've done time any time in your life and were paroled - wether that parole was yesterday or 29 years ago are you always an ex-con?
No matter what you do in life - how far your reach the sky or go underground - is a con a con for...
Started by lazyincali on
, 25 posts
by 21 people.
Answer Snippets (Read the full thread at prisontalk):
And he is....
It's on.
I don't care about the obstacles that lie between us .
Will a con be a con for life?
In the eyes of Society = yes
In Legally terms = yes
My views aren't.
|
Ask your Facebook Friends
|
What is the effect of the following code:
$page = <<<CON <p><center>Blah blah blah</center></p> CON;
What does the <<<CON do?
Started by waiwai933 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Language.types.string.php#language.types.string.syntax.heredoc
CON does not mean anything it can be named also BLA: note that if you are starting with CON you must end with CON (not EOT,XXX etc)
This is known, and doesn't require....
|
|
Any one knw how to remove the passager air con panel and driver side air con panel ?
i cubic print all the part , but bcc have no idea how to remove both? now i find it wierid , who knw or any url to guide to remove ?
Started by Seifer on
, 11 posts
by 8 people.
Answer Snippets (Read the full thread at renaultcarclub):
|
|
Just a thought... keepin air con but changin the air con rad for a smaller one?? hello i really want to keep the aircon on my car i can understand that i can change the water rad for a smaller one but was thinkin while at work why cant you just change...
Started by wolfman43 on
, 21 posts
by 8 people.
Answer Snippets (Read the full thread at toyotagtturbo):
Wot is the air con rad there....
Steve You'd have to recharge the system to different front. .
Thing for the engine to work mor load etc,
never heard of a smaller air con rad though was just find one as know a air con guy who fits them..
|
|
On Tue, 24 Jul 2007 09:31:30 -0500, Hugo Vanwoerkom <hvw59601@care2.com> wrote:
Hi,
I don't really think this is OT, albeit not directly Debian related.
Con Kolivas, the kernel hacker who authored a better scheduler, recently
decided to quit...
Answer Snippets (Read the full thread at omgili):
>....
> > Con Kolivas, the kernel not directly Debian related.
> Con Kolivas, the kernel hacker who authored a better scheduler, recently
> decided; I don't really think this is OT, albeit not directly Debian related.
Related.
|
|
-聯絡方法:PM [CON ]
如想盡快交收;PM留低你既tel(:
-車費:$3/$6;睇下面:] MK$1
* 要既話講個 號碼 就得啦;P
PS.
01-02唔係全新;用過;*
03-06係全新;)
HOLD.
Sell透明c0n:P $27:)
開左樽;但冇用過!用con水浸緊;)
唔信就唔好買!;*買多左所以放;3
2011年12月21日買!正貨;check左防偽係真!
可問我同邊個買;有門市咖佢;)有sms記錄:>
geo 200度;!
SOLD.
$15 (有鏡片) 冇鏡片 $...
Answer Snippets (Read the full thread at 3boys2girls):
Up :) ;0 ;) `#KIss;P `#KIss;P `#KIss;P :_ ;/p ;p `#KIss;P .
|
|
What exactly is the definition of a Common Lisp Cons Cell? How is a Cons Cell different than a standard linked list item? After all, both the cons cell and the linked list item have a value and a pointer to the next cell or item... or is this understanding...
Started by Jonas Gorauskas on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
A cons cell is closer to a binary tree....
General usage of course is to point to a "value" with the left one, and to another Cons cell (or nil) with the "right" one.
Cons cells in general hold two pointers that can point to anything.
|
|
I realize this is a total n00b question, but I'm curious and I thought I might get a better explanation here than anywhere else. Here's a list (I'm using Dr. Scheme)
> (list 1 2 3) (1 2 3)
Which I think is just sugar for this:
> (cons 1 (cons 2 ...
Started by dsimard on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Cons2 (cons 3 null) =....
cons 3 null => (3) 3.
Null => () --read as empty list 2.
A list is made up of an item cons a list
So these are lists:
1.
The null list (empty list) is a list 2.
The definition of a list is recursive.
|