Paolo Amoroso <amoroso@mclink.it> wrote:
+---------------
| Alexander Schreiber <als@usenet.thangorodrim.de> writes:
| > I'm looking for very short "magic" snippets of Lisp code:
|
| Here is another one:
| (+ 1/3 1/3 1/3) => 1
+---------------
I tend to start first with this one:
(+ 1/3 1/6) => 1/2
Then you hit them with either this:
(+ 1/3 1/4 1/5 1/6) => 19/20
or this:
(+ 1/3 1/4 1/5 1/6 1/20) => 1
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607