Home:ALL Converter>Bracket in F# ( let passFive f = (f 5) )

Bracket in F# ( let passFive f = (f 5) )

Ask Time:2011-04-28T13:11:54         Author:Domi.N.Zhang

Json Formatter

let passFive f = (f 5)

let passFive f = f 5

What's difference between them?

I found they are both like below:

val passFive : (int -> 'a) -> 'a

Author:Domi.N.Zhang,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/5813903/bracket-in-f-let-passfive-f-f-5
yy