Help


from Wikipedia
« »  
Some programming languages delay evaluation of expressions by default, and some others provide functions or special syntax to delay evaluation.
In Miranda and Haskell, evaluation of function arguments is delayed by default.
In many other languages, evaluation can be delayed by explicitly suspending the computation using special syntax ( as with Scheme's "" and "" and OCaml's "" and "") or, more generally, by wrapping the expression in a thunk.
The object representing such an explicitly delayed evaluation is called a future or promise.
Perl 6 uses lazy evaluation of lists, so one can assign infinite lists to variables and use them as arguments to functions, but unlike Haskell and Miranda, Perl 6 doesn't use lazy evaluation of arithmetic operators and functions by default.

2.031 seconds.