[Haskell-cafe] Lazy evaluation/functions

0 views
Skip to first unread message

michael rice

unread,
Dec 27, 2009, 8:16:15 AM12/27/09
to haskel...@haskell.org
I've seen the terms "lazy evaluation" and "lazy function." Is this just lazy language or are both these terms valid?

Michael

Tom Davie

unread,
Dec 27, 2009, 8:35:36 AM12/27/09
to michael rice, haskel...@haskell.org
Lazy evaluation is an evaluation strategy that gives non-strict semantics.

A lazy function I'm not sure how to define.  It may be lazy language meaning a function which is non-strict in one of it's arguments.

Bob

On Sun, Dec 27, 2009 at 1:16 PM, michael rice <now...@yahoo.com> wrote:
I've seen the terms "lazy evaluation" and "lazy function." Is this just lazy language or are both these terms valid?

Michael


_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Erlend Hamberg

unread,
Dec 27, 2009, 8:57:42 AM12/27/09
to haskel...@haskell.org
On Sunday 27. December 2009 14.16.15 michael rice wrote:
> I've seen the terms "lazy evaluation" and "lazy function." Is this just
> lazy language or are both these terms valid?

In some languages, like Oz, one can have lazy functions even though the
default is evaluation strategy is an eager one. In cases like that it is
convenient to call those functions “lazy functions”.
--
Erlend Hamberg
"Everything will be ok in the end. If its not ok, its not the end."
GPG/PGP: 0xAD3BCF19
45C3 E2E7 86CA ADB7 8DAD 51E7 3A1A F085 AD3B CF19

signature.asc
Reply all
Reply to author
Forward
0 new messages