Hacker News new | past | comments | ask | show | jobs | submit login

Erlang sigils are not, they can be any length, limited to characters allowed in atoms.

Elixir sigils also allow multiple characters in the name, but chars after the first must be upper case, according to the docs.

So for Elixir, it would have to be something like ~zIG




According to the docs, must be all upper case:

> Custom sigils may be either a single lowercase character, or an uppercase character followed by more uppercase characters and digits.

https://hexdocs.pm/elixir/sigils.html


Ah yeah, you're right.


Wait, erlang has sigils?


Yeah, there’s a bit of a developer experience push going on in erlang world, which is great!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: