Yes Gleam allows you to do f(arg, _)
See the relevant docs: https://tour.gleam.run/everything/#functions-function-captur...
But that's a single argument right?
Seems more limiting than the closure way. Scala allows multiple _ but in turn that doesn't allow changing ordering.
TBH, I feel this stuff is not really worth it,
But that's a single argument right?
Seems more limiting than the closure way. Scala allows multiple _ but in turn that doesn't allow changing ordering.
TBH, I feel this stuff is not really worth it,