nx icon indicating copy to clipboard operation
nx copied to clipboard

Rename sigils to ~VEC and ~MAT

Open josevalim opened this issue 1 year ago • 2 comments

I sent a proposal for multi-letter uppercase sigils in Elixir. If accepted, we should rename our sigils to the ones above.

josevalim avatar Mar 04 '23 08:03 josevalim

Can you explain why you don't want to keep the shorter versions? Are they confusing?

dannote avatar Apr 03 '23 16:04 dannote

Yes, pretty much. And given we are before 1.0 and still early in the adoption process, we can afford to rename without taking a single letter sigil. Furthermore, single letter sigils are by definition limited and it increases the chances of conflicts with other community projects. Elixir (and libraries) rarely use shortcuts and sigils were an exception so far.

josevalim avatar Apr 03 '23 16:04 josevalim

We can now tackle this. Next Nx version can depend on Elixir v1.15.

josevalim avatar Feb 22 '24 18:02 josevalim

Done in 510e68903c46362eedb8f169cb079cf68da0f6c5.

josevalim avatar May 13 '24 11:05 josevalim