Hi guys, thanks for your attention. Here is the code.

1 (: n (U False Number))
2 (define n #f)
3 (when n
4   (set! n (sub1 n)))

I suppose there should a refinement at line 3 that narrows down the type of 
n to be Number.
However typed racket complains that n is expected to be Number and actually 
given (U Complex False).

You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to