Hi,

Trying to use eof in a case expression but it doesn't work.

For example

    (define (test x)
      (case x
        [(eof) eof]
        [else  "else"]))


(test eof) will then evaluate to "else" despite (equal? eof eof) evaluating to 
#t. 

Why ?



-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to