Back to Search
Start Over
Standard ML Type Inference
- Source :
- Foundations of Programming Languages ISBN: 9783319707891
- Publication Year :
- 2017
- Publisher :
- Springer International Publishing, 2017.
-
Abstract
- Many language implementations, like C++ and Java, check the types of values and operations to be sure each operation is supported for the types of its operands. An important feature of Standard ML is the type inference system which is somewhat like the type checkers of C++ and Java, but a bit more powerful. A type checker checks the types written by the programmer to be sure each type declaration is consistent with the operations being performed, values being passed to functions, and the values being returned. Compilers for Java and C++ even infer the types of some expressions when polymorphic operators are used. For instance, the addition operator has multiple result types depending on the types of its operands.
Details
- ISBN :
- 978-3-319-70789-1
- ISBNs :
- 9783319707891
- Database :
- OpenAIRE
- Journal :
- Foundations of Programming Languages ISBN: 9783319707891
- Accession number :
- edsair.doi...........695e5a8c277b74380057d19f5705f5b6
- Full Text :
- https://doi.org/10.1007/978-3-319-70790-7_8