named-text: A parameterized named text type and associated functionality.
A plain String or Text is dangerous because it can be arbitrarily combined, converted, emitted, and updated without consideration of the validity and applicability of the contents and the usage scenario.
This module provides a Named type wrapper around Text which has two additional type parameters: one which indicates what the content of the Text represents, and one which indicates the style of the name.
There are additionally functions and classes which allow conversions and transformations between names with different styles and types (or disallow them where appropriate).
The core intent of this library is that the Named is used instead of a raw String or Text to provide type-level tracking and safety.
[Index] [Quick Jump]
Build optional Data.Text.JSON module with JSON Named style support
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
- named-text-220.127.116.11.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
For package maintainers and hackage trustees
|Versions [RSS]||18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206|
|Dependencies||aeson (>=1.5 && <2.2), base (>=4.13 && <4.18), deepseq, hashable, prettyprinter (>=1.7.0 && <1.8), sayable (>=1.0 && <1.2), text [details]|
|Copyright||Galois Inc, 2023|
|Source repo||head: git clone https://github.com/kquick/named-text|
|Uploaded||by KevinQuick at 2023-01-18T06:33:14Z|
|Downloads||96 total (9 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]