static-text

Lists, Texts, ByteStrings and Vectors of statically known length

https://github.com/dzhus/static-text#readme

Version on this page:0.2
LTS Haskell 22.14:0.2.0.7
Stackage Nightly 2024-03-29:0.2.0.7
Latest on Hackage:0.2.0.7

See all snapshots static-text appears in

BSD-3-Clause licensed by Dmitry Dzhus
Maintained by [email protected]
This version can be pinned in stack with:static-text-0.2@sha256:9c83a7f5223350314a779c344bca8ca3e9812b094d57dda35e02580e5147b4e6,2354

Module documentation for 0.2

static-text provides type-level safety for basic operations on string-like types (finite lists of elements), such as Data.Text, String (and all lists), Data.ByteString and Data.Vector. Use it when you need static guarantee on lengths of strings produced in your code.

Changes

Changelog

[Unreleased]

0.2.0 - 2018-02-17

Changed

  • Package renamed to static-text as per https://github.com/dzhus/static-text/issues/2. Old names were changed as follows:

    before after
    Data.Sext Data.StaticText
    Sext n a Static a n
    Sextable a IsStaticText a
    $(sext ..) $(st ..)

0.1.3.1 - 2017-10-29

Added

  • GHC 8.2.x support

0.1.3 - 2017-03-26

Added

  • ShortByteString support

Fixed

0.1.2 - 2017-01-18

Added

0.1.1 - 2016-19-12

Added

  • GHC 8.0.x support

0.1.0.2 - 2015-12-06

Added

  • GHC 7.10.x support

0.1.0.0 - 2014-08-10