@hackage text-format-heavy0.1.0.0
Full-weight string formatting library, analog of Python's string.format
Categories
License
BSD-3-Clause
Maintainer
portnov84@rambler.ru
Links
Versions
Installation
Dependencies (6)
- base >=4.8 && <5
- containers >=0.5
- data-default >=0.7
- parsec >=3.1 && <3.2
- text >=1.2 && <1.3
- time >=1.5 Show all…
Dependents (10)
@hackage/batchd-libvirt, @hackage/heavy-logger-instances, @hackage/heavy-log-shortcuts, @hackage/speechmatics, @hackage/acme-everything, @hackage/heavy-logger, Show all…
This package contains full-featured string formatting function, similar to Python's string.format. Features include:
Automatically numbered variable placeholders;
Positional variable placeholders;
Named variable placeholders;
Placeholders can be used in any order; one variable can be used several times or not used at all.
Specific format can be used for each variable substitution.
This package prefers functionality over "light weight" and (probably) performance. It also exposes all required interfaces to extend and customize it.
For more details, please refer to Wiki.
See also the examples/ directory.