4 ms·
his `applyBinaryOp` was the way it would be called: in F# you'd use applyBinaryOp state (+) in C# you can't use operator sections so you'd have to wrap th
by masklinn 14y ago
his `applyBinaryOp` was the way it would be called: in F# you'd use
applyBinaryOp state (+)
in C# you can't use operator sections so you'd have to wrap the operator in a lambda explicitly:
applyBinaryOp(state, (a, b) => a + b)
- SideburnsOfDoom 14y agoThat's pretty similar, except you have the "(a, b) => a + b" inline.