4 ms·
TBF, you can just do let _ : () = /* some expr whose type you don't know */ And compile it. It will quickly fail with a type error, giving you the full ty
by roblabla 9y ago
TBF, you can just do
let _ : () = /* some expr whose type you don't know */
And compile it. It will quickly fail with a type error, giving you the full type of the expression.
- pjmlp 9y agoYeah, but it feels like a kluge, specially when used to F# on Visual Studio.