Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust all concepts to use charlist sigils #1333

Closed
angelikatyborska opened this issue Jun 24, 2023 · 0 comments · Fixed by #1336
Closed

Adjust all concepts to use charlist sigils #1333

angelikatyborska opened this issue Jun 24, 2023 · 0 comments · Fixed by #1336

Comments

@angelikatyborska
Copy link
Contributor

Elixir 1.15 introduces those changes: https://github.com/elixir-lang/elixir/releases/tag/v1.15.0

[Code] Code.format_string!/2 now converts 'charlists' into ~c"charlists" by default
[Inspect] Inspect now renders 'charlists' as ~c"charlists" by default

The official guides got updated charlist syntax too: https://elixir-lang.org/getting-started/binaries-strings-and-char-lists.html#charlists

We should update all code examples in concept documents to also use the sigil as default and just mention the "old" single quote syntax somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant