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
I supported that format in my MLElixir project as well for explicit partial application as well, however I also supported _1, _2, _3, etc... for repositioning arguments as well, like via foo(_3, a, _1, _2, b) became fun a1 a2 a3 -> foo(a3, a, a1, a2, b). I found it very useful. :-)
EDIT: You could mix and match them as well, the _'s just took whatever missing _#'s as expected, though honestly I wouldn't support that, only one form or the other in a given partial application, would be useful for partial applications inside partial applications then.
Is equivalent to
The text was updated successfully, but these errors were encountered: