You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My opinion is that we can add defn and defnp only because elixir-nx is a core project maintained by people that are close to the core language. I don't think we will, though, add all possible macros there are in the language. We "should" be able to add a customization for that so that people may choose to add other defsomething macros. Not sure how to achieve that now as it should be a compile-time configuration as we are regex-driven in this mode (and all modes pre-tree-sitter).
PRs would be appreciated! It is an easy first fix I guess.
Elixir have added new keyword named
defn
for defining numerical definitionsMore at https://dashbit.co/blog/nx-numerical-elixir-is-now-publicly-available
The text was updated successfully, but these errors were encountered: