A thunk is just a function which delays the evaluation of the value . The thunk function doesn’t take any arguments and gives the value whenever you invoke the thunk.
A thunk is just a function which delays the evaluation of the value . The thunk function doesn’t take any arguments and gives the value whenever you invoke the thunk.