Javatpoint Logo
Javatpoint Logo

F# Lazy computation

Lazy computation is a feature of F#. Lazy computation does not evaluate immediately. It is executed when result is needed. It can help to improve performance of your code.


In the above code, expression is the code that is evaluated only when it required. F# uses force method to perform lazy computation.

F# Lazy Computation Example



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA