fredrikekre / Runic.jl

A code formatter for Julia with rules set in stone.
MIT License
92 stars 2 forks source link

Asymmetry: `∈` replaced by `in` but `∉` stays the same #17

Closed fredrikekre closed 2 months ago

fredrikekre commented 2 months ago

Right now is replaced by in but since exists the formatted code may become asymmetric since is left alone and not replaced by e.g. !(...). Perhaps should be left alone as well for now.

fredrikekre commented 2 months ago

Actually, I have only implemented the replacement in loop contexts so e.g. x ∈ X stays the same. Since can't be used in loop contexts I think it is fine as is.