Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
From: "Brandon" <bnavra.removethis@student.usyd.edu.au.removethis>
Newsgroups: comp.soft-sys.matlab
References: <gp22jh$sif$1@fred.mathworks.com>
In-Reply-To: <gp22jh$sif$1@fred.mathworks.com>
Subject: Re: Recursive anonymous function
Date: Tue, 10 Mar 2009 08:16:31 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Lines: 24
Message-ID: <49b5873f$0$4206$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
NNTP-Posting-Host: 124.168.173.144
X-Trace: 1236633407 per-qv1-newsreader-01.iinet.net.au 4206 124.168.173.144
Bytes: 1694
Xref: news.mathworks.com comp.soft-sys.matlab:523607


Morning all,

Bruno:
The preparsing makes sense, so I believe I see what is happening.

Kenneth:
Thanks for your examples. Its interesting to see others have tried similar 
attempts at recursion.


Mike:
Thank you for your thorough explanation.
I recall the Y-combinator from a lambda calculus course I have previously 
done.
It never occured to me to use this method but it makes perfect sense.

It has also got me thinking if one was to implement most of the lambda 
calculus contructs as anonymous functions, it might be possible to create a 
lisp-like calculation system using anonymous functions.

Thanks all

Brandon