In favour of


Lists, Texts, ByteStrings and Vectors with type-encoded length

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Dmitry Dzhus
Maintained by

Sext (static text) provides type-level safety for basic operations on string-like types (finite lists of elements). Use it when you need static guarantee on lengths of strings produced in your code.


  • GHC 8.2.x support


  • Added ShortByteString support

  • Fixed a bug in createLeft which failed to actually pad/truncate strings (reported by Altai-man

Depends on 5 packages:
Used by 1 package:
comments powered byDisqus