Hacker News new | past | comments | ask | show | jobs | submit login

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)



That's pretty similar, except you have the "(a, b) => a + b" inline.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: