Re: [computer-go] LISP question (littlle bit off topic)

2007-04-09 Thread William Harold Newman
On Sun, Apr 08, 2007 at 10:18:10AM +0200, Chrilly wrote: Paper 1 in the list below states: Numbers were originally implemented in Lisp I as a list of atoms. and the Lisp 1.5 manual states: Arithmetic in Lisp 1.5 is new Could you give an example how the number 3 was implemented in Lisp-1

Re: [computer-go] LISP question (littlle bit off topic)

2007-04-08 Thread Chrilly
Subject: Re: [computer-go] LISP question (littlle bit off topic) Crilly, I used to program in LISP and had never heard of this, so I did some checking. I think this is a misconception from the fact that numbers were considered atoms and hence stored on the list of atoms. Instead of just being

[computer-go] LISP question (littlle bit off topic)

2007-04-07 Thread Chrilly
Up to my knowledge the first Lisp Versions had no number system. The number n was represented as the list of numbers from 1 to n (which is also the mathematical/axiomatic definition of the natural numbers). But its not very practical. Can anyone provide me with a link how this was done. I am

Re: [computer-go] LISP question (littlle bit off topic)

2007-04-07 Thread Peter Drake
I don't have a reference, but it's probably a variant of Church Numerals: http://en.wikipedia.org/wiki/Church_numeral On Apr 7, 2007, at 12:54 PM, Chrilly wrote: Up to my knowledge the first Lisp Versions had no number system. The number n was represented as the list of numbers from 1 to n

Re: [computer-go] LISP question (littlle bit off topic)

2007-04-07 Thread Don Dailey
On Sat, 2007-04-07 at 21:54 +0200, Chrilly wrote: Up to my knowledge the first Lisp Versions had no number system. The number n was represented as the list of numbers from 1 to n (which is also the mathematical/axiomatic definition of the natural numbers). But its not very practical. Can

Ang: [computer-go] LISP question (littlle bit off topic)

2007-04-07 Thread [EMAIL PROTECTED]
You are looking for a formalization of natural numbers. The one you describe is probably a mangled description of the construction from set theory. AFAIK The natural Lisp construction is from the Peano axioms. A shallow discourse: