Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Functional > Re: the necessi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 2763 of 2887
Post > Topic >>

Re: the necessity of Lisp's Objects?

by Ken Tilton <kennytilton@[EMAIL PROTECTED] > Feb 10, 2008 at 04:18 PM

Joost Diepenmaat wrote:
> "David Formosa (aka ? the Platypus)" <dformosa@[EMAIL PROTECTED]
> writes:
> 
> 
>>On Sun, 10 Feb 2008 10:26:42 +0000, Jon Harrop <usenet@[EMAIL PROTECTED]
>
>>wrote: 
>>
>>>Actually, I can't think of any other languages that sup****t recursive
>>>anonymous functions anyway: none of Lisp, Scheme, SML, OCaml, F# and
>>>Haskell do AFAIK.
>>
>>You can do anonymous recusion in Lisp and Scheme via letrec.  Any
>>language where you can implement the Y-combinator you can get
>>anonymous recursion.
> 
> 
> FTR:
> 
> One language I know that directly sup****ts anonymous recursion (without
> Y-combinator) is JavaScript:
> 
> var fib = function(i) {
>   if (i == 0 || i == 1) return 1;
>   return (arguments.callee.call(null,i-1) +
arguments.callee.call(null,i-2));
> };
> 

Maybe I should do Cells/JS. Flapjax does FRP, but really badly, with 
"lifting".

The subtext here is that a ****t of my Algebra software to JS let's me 
distribute via the Web /and/ push the ****p date past my shuffle-off 
date. Sweet!

kenny

-- 
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/

"In the morning, hear the Way;
  in the evening, die content!"
                     -- Con****ius
 




 3 Posts in Topic:
Re: the necessity of Lisp's Objects?
Joost Diepenmaat <joos  2008-02-10 14:36:37 
Re: the necessity of Lisp's Objects?
"David Formosa (aka   2008-02-10 20:08:45 
Re: the necessity of Lisp's Objects?
Ken Tilton <kennytilto  2008-02-10 16:18:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:00:15 CDT 2008.