It looks like -i cannot be used as an identifier because it evaluates to the complex number 0-1i. So in the v7.8 REPL, (define -i "foo") fails. I noticed this when trying to map CLI flag strings to identifiers. -i was the only one in the set to fall over.
In the Reading Numbers section of the reference, it looks like a digit sequence is required before "i" for both the inexact complex and exact complex productions. That makes sense to me because it doesn't seem right to assume that an empty string corresponds to -1 like it seems to do here. Maybe I'm misreading the grammar? Before I open a GitHub issue, I just need to know if any part of this is unintentional. ~slg -- 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 https://groups.google.com/d/msgid/racket-users/s9pqyR4hlcTjjfYYHeNqnVsDKbU138qdy-L0rIquew86_TtTNX4SlRRw2r4Yv2-0szTzJiCmyu4QDmwwfPD863HHRO6oZpT9x1V8GfCmM3E%3D%40sagegerard.com.