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
Turns out, in Elixir AST if a function/0 is defined without parentheses (def function, do: nil), the arguments that are passed to macro is {:function, _, nil}, instead of {:function, _, []}, thus breaking defpartial and defcurry
The text was updated successfully, but these errors were encountered:
Turns out, in Elixir AST if a function/0 is defined without parentheses (
def function, do: nil
), the arguments that are passed to macro is{:function, _, nil}
, instead of{:function, _, []}
, thus breakingdefpartial
anddefcurry
The text was updated successfully, but these errors were encountered: