1.

Explain Why “lazy Evaluation” In Haskell Is Useful?

Answer»

In Hazkel, lazy evaluation is USEFUL due to following reasons:

  • Values will not be computed if they are not GOING to be used
  • Haskell makes sure that the order in which the EXPRESSIONS are evaluated will never affect their result.
  • Also, it ALLOWS the infinite lists

In Hazkel, lazy evaluation is useful due to following reasons:



Discussion

No Comment Found