Why are sigils only possible with single character names?

As the title suggests, I wonder what the reasoning is behind only allowing “single character sigils”.

The thought came to me while looking at the documentation of the ~U sigil for UTC DateTimes and I thought that this would read so much nicer if it was ~UTC[...].

Does anybody know why Elixir chose to only allow single character sigils? Is there a technical reason for this, or was this a deliberate design decision? If yes, what’s the reasoning behind this decision?

7 Likes

This was talked about on the core list here . It seemed to have good support, but that was over a year ago.

4 Likes

Multi uppercase character sigils will be in elixir 1.15

8 Likes