I defined mySum but never called it.
mySumis not a function, since it does not accept any parameters. A function must have at least one argument; if nothing can be used "useful", usually this value unit ().
mySum - ; , [1..100] |> List.sum |> printfn "%i" mySum. , , (), printfn unit. , , , , .
, mySum :
let mySum () = [1..100] |> List.sum |> printfn "%i"
mySum ()
, 5050 , () .