| ▲ | nchagnet 8 hours ago | |||||||
Yes Gleam allows you to do f(arg, _) See the relevant docs: https://tour.gleam.run/everything/#functions-function-captur... | ||||||||
| ▲ | riffraff an hour ago | parent [-] | |||||||
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, | ||||||||
| ||||||||