Difference between where bindings, let bindings and the single assignment operator (<-)
问题 I do not understand the difference between the three syntaxes: where a = f (b) do a <- f (b) do let a = f (b) I do understand somehow though that a <- f(b) is different from the other two, in most cases where I tried all three worked. Also I read somewhere on the net that per block you should try to get along with one let binding only in order to be "idiomatic". But I never seem to manage. How do I decide what to use? 回答1: let foo = bar in ... simply defines foo to be the exact same thing as