I\'m attempting to use explicit member constraints in F#. The documentation says \"F# supports the complete set of constraints that is supported by the common language runti
Member constrains need statically resolved type parameters. But statically resolved type parameters are not allowed on types (as in your example), only for inline functions and inline methods.
The underlying problem is probably that types as a whole cannot be inline.
See also: http://msdn.microsoft.com/en-us/library/dd548046.aspx
If you use an inline member like this:
type MyType() =
member inline this.F a b = a + b
the types of a and b will automatically be correctly constrained.