unpacked-maybe-text: optional text that unpacks well
This library provides a specialization of `Maybe ShortText`.
When this is an unpacked field of data constructor, this will
result in fewer indirections and fewer allocations. This is
a micro-optimization, so think hard about whether or not this
will improve performance in a particular situation. A different
way to accomplish a similar goal is to forbid empty text and then
use the empty text value as a placeholder that signifies
This alternative may or may not be an option depending on whether
or not the empty string is valid in your problem domain.
- unpacked-maybe-text-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Dependencies||base (>=188.8.131.52 && <5), bytestring (>=0.10.8 && <0.12), text-short (>=0.1.3 && <0.2) [details]|
|Copyright||2019 Andrew Martin|
|Revised||Revision 1 made by andrewthad at 2022-12-07T17:44:02Z|
|Source repo||head: git clone https://github.com/andrewthad/unpacked-maybe-numeric|
|Uploaded||by andrewthad at 2019-09-30T13:20:49Z|
|Reverse Dependencies||1 direct, 0 indirect [details]|
|Downloads||513 total (13 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs available [build log]
Last success reported on 2019-09-30 [all 1 reports]