Study Haskell for a while and recently trying the witchcraft. I’m wondering how hard is it to make elixir able to parse operator like <| and <$>, and which file(s) should I look into? Thanks for any tips or suggestions in advanced.
Elixir is capable of parsing a predefined set of operators; this means that it’s not possible to define new operators (like one could do in Haskell, for example). However, not all operators that Elixir can parse are used by Elixir: for example,
+and||are used by Elixir for addition and boolean or , but<~>is not used (but valid).
Mainly these two are what you need:
Thank you so much! ![]()






















