Welcome to DrRacket, version 6.11 [3m].
Language: racket, with debugging; memory limit: 128 MB.
> (if (bytes-utf-8-length (bytes 255)) 1 2)
1
> (bytes-utf-8-length (bytes 255))
#f
> (not (bytes-utf-8-length (bytes 255)))
#f

Can anyone explain this to me? Surely the output of the last line should be 
#t. Is it a bug? 

It happens with both 6.11 and 6.3. I know there must be a rational 
explanation, so please enlighten me!

Thanks,
Jonathan

-- 
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