fork download
  1. let rec summ5 x =
  2. let stringList = [x.ToString() ]
  3. let sx = s.ToString()
  4. String.concat sx stringList
  5.  
  6. let res = summ5 ""
  7. printfn "%i" res
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/xWBhcT/prog.fs(3,11): error FS0039: The namespace or module 's' is not defined

/home/xWBhcT/prog.fs(7,14): error FS0001: The type 'string' is not compatible with any of the types byte,int16,int32,int64,sbyte,uint16,uint32,uint64,nativeint,unativeint, arising from the use of a printf-style format string
stdout
Standard output is empty