Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Don Syme, Adam Granicz, and Antonio Cisternino
About this chapter
Cite this chapter
Syme, D., Granicz, A., Cisternino, A. (2007). Mastering Types and Generics. In: Expert F#. Apress. https://doi.org/10.1007/978-1-4302-0285-1_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0285-1_5
Publisher Name: Apress
Print ISBN: 978-1-59059-850-4
Online ISBN: 978-1-4302-0285-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)