In the below example I'm using Type abbreviation. Why should I use the fun keyword as opposed to calling it without the fun keyword?
type AdditionFunction = int->int->int
let f:AdditionFunction = fun a b -> a + b
In the below example I'm using Type abbreviation. Why should I use the fun keyword as opposed to calling it without the fun keyword?
type AdditionFunction = int->int->int
let f:AdditionFunction = fun a b -> a + b