fork download
  1. let rec fun x =
  2. 5 + x
  3.  
  4.  
  5. let res = fun 3
  6. printfn res
  7.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/UVEsSl/prog.fs(1,9): error FS0010: Unexpected keyword 'fun' in binding

/home/UVEsSl/prog.fs(6,1): error FS0010: Incomplete structured construct at or before this point in lambda expression. Expected '->' or other token.
stdout
Standard output is empty