Skip to content

Commit

Permalink
Update statically-resolved-type-parameters.md (#38862)
Browse files Browse the repository at this point in the history
Upcase .NET
  • Loading branch information
gurustron authored Dec 24, 2023
1 parent 70a9fac commit c6c0d83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Up to version 7.0 of F#, one had to use the following syntax

## Remarks

In F#, there are two distinct kinds of type parameters. The first kind is the standard generic type parameter. They are equivalent to generic type parameters in other .Net languages. The other kind is statically resolved and can only be used in inlined functions.
In F#, there are two distinct kinds of type parameters. The first kind is the standard generic type parameter. They are equivalent to generic type parameters in other .NET languages. The other kind is statically resolved and can only be used in inlined functions.

Statically resolved type parameters are primarily useful in conjunction with member constraints, which are constraints that allow you to specify that a type argument must have a particular member or members in order to be used. There is no way to create this kind of constraint by using a regular generic type parameter.

Expand Down

0 comments on commit c6c0d83

Please sign in to comment.