F#中的通用 d打字?
原文:generic duck typing in F#?
原文:generic duck typing in F#?
using let inline and member constraints I ll be able to make duck typing for known members but what if I would like to define a generic function like so: let duckwrapper< a> duck = ... with the ...