Template:Data types: Difference between revisions
No edit summary |
add Empty type since it is easily confused with e.g. the Void type (since the empty type is Void in Haskell) |
||
Line 86: | Line 86: | ||
*[[Top type]] |
*[[Top type]] |
||
*[[Type class]] |
*[[Type class]] |
||
*[[Empty type]]<!-- putting this out of alphabetical order because it really should be next to unit --> |
|||
*[[Unit type]] |
*[[Unit type]] |
||
*[[void type|Void]] |
*[[void type|Void]] |
Latest revision as of 01:52, 6 June 2023
This template generates a navigation box for data types.
Usage[edit]
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Data types|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Data types|state=expanded}}
will show the template expanded, i.e. fully visible.
Examples[edit]
Some of many special data types are listed below. These are best accessed through the parent articles, e.g., double precision from floating point, etc. Please do not add them to the template without good reason. Use Category:Data types instead.
Specific representations of the abstract integer type:
Already covered by {{Floating-point}}: Specific representations of the abstract floating-point number or numeric type:
Specific representations of the abstract "character" type:
Specific representations of the abstract "pointer" type:
Specific representations of the abstract executable "subroutine"/"function"/"procedure" type:
These are mathematical concepts, not NOT data types:
- complex number
- rational number
- interval (mathematics)
- matrix (mathematics)
- vector (mathematics)
- tuple
These are data STRUCTURES, NOT data TYPES:
See also[edit]
- {{Floating-point}}
- {{Information units}}, platform-dependent and independent units of information