Formatting Strings in ML
DOI:
https://doi.org/10.7146/brics.v5i5.21679Abstract
A string-formatting function such as printf in C seemingly requires dependent types, because its control string specifies the rest of its arguments.Examples:
- printf ("Hello world.\n");
printf (" The %s is %d.\n", "answer", 42);
P.S. See also BRICS-RS-98-12
Downloads
Published
1998-03-04
How to Cite
Danvy, O. (1998). Formatting Strings in ML. BRICS Report Series, 5(5). https://doi.org/10.7146/brics.v5i5.21679
Issue
Section
Articles
License
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.