[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Lambda calculus and it relation to LISP

**From**: |
William Elliot |

**Subject**: |
Re: Lambda calculus and it relation to LISP |

**Date**: |
Tue, 8 Oct 2002 21:48:08 -0700 |

On Wed, 9 Oct 2002, James Wong wrote:
>* > While we are on the topic of Scheme and recursion:*
>* > ((lambda (f n) (f f n))*
>* > (lambda (f n) (if (= 0 n) 1 (* n (f f (- n 1))))) 5)*
>* >*
>* > Recursion without a function actually calling itself!*
>
>* This was an "Extra for Experts" hw problem for us in Berkeley. I didn't get*
>* it, so I tip my hat to you.*
>
It reduces to factorial 5.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----

**Lambda calculus and it relation to LISP**, *gnuist*, `2002/10/04`
**Re: Lambda calculus and it relation to LISP**, *Luke A. Olbrish*, `2002/10/05`
**Re: Lambda calculus and it relation to LISP**, *Charles Matthews*, `2002/10/05`
**Re: Lambda calculus and it relation to LISP**, *Gareth McCaughan*, `2002/10/05`
**Re: Lambda calculus and it relation to LISP**, *William Elliot*, `2002/10/06`
**Re: Lambda calculus and it relation to LISP**, *Gareth McCaughan*, `2002/10/06`
**Re: Lambda calculus and it relation to LISP**, *gnuist*, `2002/10/07`
**Re: Lambda calculus and it relation to LISP**, *William Elliot*, `2002/10/07`
**Re: Lambda calculus and it relation to LISP**, *Barb Knox*, `2002/10/07`
**Re: Lambda calculus and it relation to LISP**, *David Kastrup*, `2002/10/07`
**Re: Lambda calculus and it relation to LISP**, *William Elliot*, `2002/10/07`
**Re: Lambda calculus and it relation to LISP**, *Barb Knox*, `2002/10/07`