Top "Lazy-evaluation" questions

be evaluated more than once.

How to convert lazy sequence to non-lazy in Clojure

I tried the following in Clojure, expecting to have the class of a non-lazy sequence returned: (.getClass (doall (take 3 (repeatedly …

clojure lazy-evaluation
Lazy evaluation in C++

C++ does not have native support for lazy evaluation (as Haskell does). I'm wondering if it is possible to implement …

c++ lazy-evaluation
nhibernate lazy load options

What is the difference between lazy="true" and lazy="proxy" in nhibernate?

nhibernate proxy lazy-evaluation
Does Java have lazy evaluation?

I know that Java has smart/lazy evaluation in this case: public boolean isTrue() { boolean a = false; boolean b = true; …

java lazy-evaluation
How do lexical closures work?

While I was investigating a problem I had with lexical closures in Javascript code, I came along this problem in …

python closures lazy-evaluation late-binding python-closures
Does Python evaluate if's conditions lazily?

For example, if I have the following statement: if( foo1 or foo2) ... ... if foo1 is true, will python check the …

python lazy-evaluation
Pass arguments to dplyr functions

I want to parameterise the following computation using dplyr that finds which values of Sepal.Length are associated with more …

r dplyr lazy-evaluation
Why is lazy evaluation useful?

I have long been wondering why lazy evaluation is useful. I have yet to have anyone explain to me in …

haskell functional-programming lazy-evaluation
What does the exclamation mark mean in a Haskell declaration?

I came across the following definition as I try to learn Haskell using a real project to drive it. I …

haskell syntax lazy-evaluation
Lazy List of Prime Numbers

How would one implement a list of prime numbers in Haskell so that they could be retrieved lazily? I am …

list haskell primes lazy-evaluation