Closed sorawee closed 3 years ago
Consider:
#lang racket (add1 (let loop ([n 5]) (cond [(zero? n) (/ 1 0)] [else (add1 (loop (sub1 n)))])))
The backtrace displays:
Notice that
It's unclear what is the desired outcome, but it definitely should not be inconsistent like this.
They should all be like the first one, IMO.
Consider:
The backtrace displays:
Notice that
It's unclear what is the desired outcome, but it definitely should not be inconsistent like this.