r/functionalprogramming • • Jun 28 '24

Question Does Lazy Evaluation have a Future?

In Haskell it is used for deforestation to keep the stack low. But after some experience with it, it is simply a problematic concept.
UPDATE: What do you think about a concept with buds?
Buds that change from unbound to bound via a side effect,
which can be checked beforehand with isbound. Wouldn't a concept with buds be much more flexible.

2 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/metazip Jun 29 '24

I think so, also because strings are represented as lists of characters (so that lazy evaluation can work best there)