Types 传递a型乐趣<';a>;在参数中?
我如何传递类型Types 传递a型乐趣<';a>;在参数中?,types,parameters,f#,Types,Parameters,F#,我如何传递类型fun) 让theFunc=myDelegate 我想你想要 type mytype<'a> (a:int,myDelegate:'a->unit) = let theFunc = myDelegate 我想你想要 type mytype<'a> (a:int,myDelegate:'a->unit) = let theFunc = myDelegate 精彩的。。。非常感谢!!精彩的。。。非常感谢!! type myty
fun)
让theFunc=myDelegate
我想你想要
type mytype<'a> (a:int,myDelegate:'a->unit) =
let theFunc = myDelegate
我想你想要
type mytype<'a> (a:int,myDelegate:'a->unit) =
let theFunc = myDelegate
精彩的。。。非常感谢!!精彩的。。。非常感谢!!
type mytype<'a> (a:int,myDelegate:``fun``<'a>) =
let theFunc = myDelegate