Skip to content

Conversation

thbar
Copy link
Contributor

@thbar thbar commented Jul 12, 2023

This addresses:

Pending questions:

  • Unsure if the "xyz" style is good enough (there is no such thing in the code base at first glance) - EDIT: term is perfect
  • Make sure that the resulting expression will be formatted as code in the docs
  • How to make sure this will be seen on the versions where the warning appears (< 1.15), will this require a form of backport I presume?
Copy link
Member

@whatyouhide whatyouhide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wdyt about the term term? 🙃

thbar and others added 2 commits July 12, 2023 17:00
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com>
Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com>
@thbar
Copy link
Contributor Author

thbar commented Jul 12, 2023

@whatyouhide sounds perfect! Thanks for the suggestions, which I have applied.

Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com>
@thbar
Copy link
Contributor Author

thbar commented Jul 12, 2023

@whatyouhide we could go further and add this, equally useful:

What do you think?

@whatyouhide
Copy link
Member

@thbar I personally don't see the reason for using match?/2 when we now have is_struct/2. 😕

@thbar
Copy link
Contributor Author

thbar commented Jul 12, 2023

@whatyouhide ok, one upgrade path is enough in that case anyway!

@josevalim josevalim merged commit 5a5947c into elixir-lang:main Jul 12, 2023
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member

Merged and backported!

@thbar thbar deleted the regex-doc branch July 12, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants