【发布时间】:2017-05-09 18:44:53
【问题描述】:
以下代码最后两行编译错误?
open System
let s = new System.Collections.Generic.Stack<Tuple<int, int>>()
s.Push( 1, 2) // The type ''a * 'b' is not compatible with the type 'Tuple<int,int>'
s.Push(Tuple.Create(1, 2))
s.Push(Tuple.Create(1, 2))的错误信息
【问题讨论】:
标签: f#