fork download
  1. let Deg2Rad (a:double) = 3.14 * a / (180.0)
  2. printfn "%d" Deg2Rad 90
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/x3wvIg/prog.fs(2,9): error FS0001: Type mismatch. Expecting a
    'a -> 'b -> 'c    
but given a
    'a -> unit    
The type ''a -> 'b' does not match the type 'unit'

/home/x3wvIg/prog.fs(2,14): error FS0001: The type '(double -> float)' 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