Detailed description of statically permitted type parameters

I am looking for a very detailed overview of statically permitted type parameters. What exactly can be done with them, what are their limitations, what are the consequences of using them, how are they combined with the usual type parameters, and how the built-in members at the instance level work.

The specification itself offers very little on this subject, mentioning them only in passing. It does not say anything about the possibility of having types with such type parameters (for example, type Example< ^a> ), namely the keywords and and or can be used to indicate complex member restrictions, how many signatures of the participants must match the restriction signature, etc. .

I really found only introductory material and some very specific information, nothing in the form of a comprehensive overview.

+3
generics types f #
Mar 16 '15 at 15:51
source share

No one has answered this question yet.

See similar questions:

7
How to add LanguagePrimitives.GenericZero / get_Zero to System.String?

or similar:

1293
How to determine the type of a Python variable?
1093
What is the canonical type checking method in Python?
1092
What are the differences between types () and isinstance ()?
908
What are POD types in C ++?
677
How to check if a type is a variable string?
650
How to get an instance of a generic class type T
547
Create an instance of a generic type in Java?
6
Statically permitted type parameters in F # are not resolved as expected, or: cannot propagate type parameters?
3
Understanding F # inline and statically resolved parameter types: an example of F #
0
Understanding common parameters with void return types



All Articles