I'm trying to produce something similar to `Kernel.match?/2` in that I can pass a pattern to it, but if I reproduce the same macro I get the "cannot be an expression" error.
I have a livebook here with output showing: https://gist.github.com/bcardarella/4d5655e0e7c90036754c25b94b2af4df I searched the source but cannot seem to find any special tokenization case for that match?/2 as to why it is treated differently. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/208e5c50-061c-4d4d-a426-d86756903e27n%40googlegroups.com.