阅读背景:

如何printfn int*int类型?

来源:互联网 
> (1, 2, 3);;
val it : int * int * int = (1, 2, 3)

> printfn "%d" (1, 2 ,3);;

  printfn "%d" (1, 2 ,3);;
  --------------^^^^^^^

stdin(2,15): error FS0001: The type '('a * 'b * 'c)' is not compatible with any of the types byte,int16,int32,int64,sbyt
e,uint16,uint32,uint64,nativeint,unativeint, arising from the use of a printf-style format string
> (1, 2, 3);;
val it : int * int * int = (1, 2,



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: