
@cenazoic has joined the channel

@samth > while I have you here, numbers with exponents don’t get the literal color in racket-mode I opened https://github.com/greghendershott/racket-mode/issues/442 to look at later. Now that I am looking at it, I wonder if you meant exact-complex numbers? This part of the reader grammar ‹exact-complexn› ::= ‹exact-rationaln› ‹sign› ‹unsigned-rationaln› i
?
Because in the list of examples there — https://docs.racket-lang.org/reference/reader.html#%28part._parse-number%29 — the only ones that don’t seem to work for me are these three:
1+2i reads equal to (make-rectangular 1 2)
1/2+3/4i reads equal to (make-rectangular (/ 1 2) (/ 3 4))
1.0+3.0e7i reads equal to (exact->inexact (make-rectangular 1 30000000))

no, it’s not about complex numbers


some numbers are green, some are white

OK. So I guess I found an additional bug to fix then.

Thanks.

@dgonsalves22 has joined the channel