4 ms·
You can do the same in Haskell with the flip function. In fact the bindWith2 is the same as the flip function for binary functions, but without the need for "fu
by freyrs3 14y ago
You can do the same in Haskell with the flip function. In fact the bindWith2 is the same as the flip function for binary functions, but without the need for "functions objects" with bound methods.
λ: (/) 2 4
0.5
λ: flip (/) 2 4
2.0