The latest version of unpacked-maybe-text is 0.1.0.1-0.
unpacked-maybe-text
Version 0.1.0.0 revision 1 uploaded by andrewthad.
Package meta
- Synopsis
- optional text that unpacks well
- Description
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 Nothing. This alternative may or may not be an option depending on whether or not the empty string is valid in your problem domain.
- Author
- Andrew Martin
- Bug reports
- https://github.com/andrewthad/unpacked-maybe-text/issues
- Category
- Data
- Copyright
- 2019 Andrew Martin
- Homepage
- https://github.com/andrewthad/unpacked-maybe-text
- Maintainer
- andrew.thaddeus@gmail.com
- Package URL
- n/a
- Stability
- n/a