Talk:Y combinator: Difference between revisions

From Rosetta Code
Content added Content deleted
(New page: ==Haskell stateless?== I don't know Haskell, but isn't the definition: y f = f (y f) '''not''' stateless as it seems to be defining y by referring to y. Haskell, no doubt has lazy evalua...)
 
Line 3: Line 3:
y f = f (y f)
y f = f (y f)
'''not''' stateless as it seems to be defining y by referring to y. Haskell, no doubt has lazy evaluation to make it terminate, but the task does ask for a non-recursive, stateless definition of y. --[[User:Paddy3118|Paddy3118]] 09:18, 28 February 2009 (UTC)
'''not''' stateless as it seems to be defining y by referring to y. Haskell, no doubt has lazy evaluation to make it terminate, but the task does ask for a non-recursive, stateless definition of y. --[[User:Paddy3118|Paddy3118]] 09:18, 28 February 2009 (UTC)

I googled [http://groups.google.co.uk/group/fa.haskell/browse_frm/thread/f0a62b6de1416d8b this]. --[[User:Paddy3118|Paddy3118]] 09:22, 28 February 2009 (UTC)

Revision as of 09:22, 28 February 2009

Haskell stateless?

I don't know Haskell, but isn't the definition:

 y f = f (y f)

not stateless as it seems to be defining y by referring to y. Haskell, no doubt has lazy evaluation to make it terminate, but the task does ask for a non-recursive, stateless definition of y. --Paddy3118 09:18, 28 February 2009 (UTC)

I googled this. --Paddy3118 09:22, 28 February 2009 (UTC)