Function Format
Jump to navigation
Jump to search
A Function Format is a Software Function that transforms data to a specific format.
- AKA: Data Formatting Operation.
- …
- Example(s):
str.format()
, a function in Python performs a String Formatting Operation.Format
is a function in Common Lisp that can produce formatted text.- …
- Counter-Example(s):
- See: Multics, Printf Format String, Lisp Machine Lisp.
References
2018a
- (Wikipedia, 2018) ⇒ https://en.wikipedia.org/wiki/Format_(Common_Lisp) Retrieved:2018-3-18.
Format
is a function in Common Lisp that can produce formatted text using a format string similar to the printf format string. It provides more functionality thanprintf
, allowing the user to output numbers in English, apply certain format specifiers only under certain conditions, iterate over data structures, and output in a tabular format. This functionally originates in MIT's Lisp Machine Lisp, where it was based on Multicsioa_
.
2018b
- (Python Docs, 2018) ⇒ "6.1.2. String Formatting”. In "The Python Standard Library" Retrieved:2018-3-18.
- QUOTE: The built-in string class provides the ability to do complex variable substitutions and value formatting via the
format()
method described in PEP 3101. The Formatter class in the string module allows you to create and customize your own string formatting behaviors using the same implementation as the built-informat()
method.
- QUOTE: The built-in string class provides the ability to do complex variable substitutions and value formatting via the