[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntactic significance of dot

From: Panicz Maciej Godek
Subject: Re: Syntactic significance of dot
Date: Mon, 22 Sep 2014 20:38:21 +0200

A little errata:
The limitation is that only one element can (and has to) appear after the period, and at least one element needs to appear before it. Otherwise you get a syntax voilation:

'(1 2 . 3)
===> (1 2 3)

Should be:
===> (1 2 . 3)

Also, the dotted pair syntax and its eqivalent list syntax were both established by John McCarthy in his 1960 paper which introduced LISP to the world: (section 3)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]