-
Notifications
You must be signed in to change notification settings - Fork 2
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
Check alternative operators for "here be dragons" #1
Conversation
|
|
|
@ityonemo I was also thinking about |
|
Well, it is possible to use About pros and cons of each approach:
|
|
I gravitate to some of the options with
|
|
@baldwindavid the problem is that all Adding more underscores would not change a thing IMHO, unless it is |
|
@hauleth Thanks for the explanation. Regarding the underscores, I just meant that Regardless, I'm content with any of the options in the poll to the extent that it eventually supports the same use cases as elixir-capture_pipe |
|
Unless my understanding of elixir is wrong, would |
|
I'm not a fan of I also don't really like any of the options involving underscores because everywhere else in Elixir underscores read to me as 'ignore this thing'. I'm interested that that isn't other people's first reaction. I voted for Is there something more fundamentally surprising and different that we can do? I don't know the limitations of what's available - I presume it's tokens already available in Elixir AST? In an ideal world I think I'd use the @ symbol. |
Yes, Elixir do not allow using otherwise illegal syntax in macros.
Which we cannot use, as |
|
I just realized one could borrow a page from matchspecs and use |
|
@ityonemo the problem with using tid
|> :ets.select({:_, [], [:"$"])Could became hard to read with such placeholder, especially if we would like to allow non-root level matches. |
|
Another one I don't think has been mentioned is |
|
Closing as poll (and I) decided that |
Poll about the operator to be used (just click on the option you like, and your vote will be counted, it will not bring you to the poll site):