Skip to main content

Questions tagged [lazy-evaluation]

Use this tag for questions about the lazy evaluation strategy, by which an expression is evaluated only when its value is needed.

1 vote
0 answers
155 views

A single page application (SPA) is a website that prevents refreshing (i.e. reloading fundamental scripts and certain resources) on page redirection in the same domain. Typically a SPA consists of a ...
Hydroper's user avatar
  • 407
2 votes
1 answer
282 views

Contiguous arrays do not mix with lazy evaluation. That's why Haskell doesn't have contiguous arrays as a primitive type, and why even GHC has a poor API for them. As such, I sought for a workaround. ...
Dannyu NDos's user avatar
  • 1,485
1 vote
1 answer
288 views

There are high order function on lists, such as map, find, reduce, in some languages. If the result of one such function is piped into another such function, there are multiple possible evaluation ...
user23013's user avatar
  • 3,314
12 votes
1 answer
770 views

I understand there are some advantages of lazy languages like Haskell. For example, one can easily write/use an infinite list without worrying about it being evaluated eagerly. I heard there are other ...
tinlyx's user avatar
  • 467