Open kavigupta opened 5 years ago
It should work exactly like error.
scm> (define x (delay (begin (print 2) (/ 1 0)))) scm> (force x) 2 Error scm> (force x) 2 Error
but right now it seems to cache the value and not re-evaluate it
scm> (define x (delay (begin (print 2) 0))) scm> (force x) 2 Error scm> (force x) Error
It should work exactly like error.
but right now it seems to cache the value and not re-evaluate it