F# constructs such as lists, tuples, and function values are all generic, which means they can be instantiated at multiple different types. For example, int list, string list, and (int * int) list are all instantiations of the generic family of F# list types. Likewise, int → int and string → int are both instantiations of the generic family of F# function types. The F# library and the .NET Framework have many other generic types and operations in addition to these.
KeywordsType Variable Generic Comparison Type Inference Reference Type Type Annotation
Unable to display preview. Download preview PDF.