Unicode-aware string interpolation for Haskell that handles all textual types
open sourceBSD-3-Clausefree
string-interpolate is William Yao's Haskell library for Unicode-aware string interpolation that handles all of Haskell's textual types, so the same syntax works whichever string type (String, Text or ByteString) a program uses.
Problems it solves
- interpolate variables into Text in Haskell without manual concatenation
- one string interpolation syntax for String, Text and ByteString in Haskell
- Unicode-safe string interpolation in Haskell
Features
- string interpolation for String, Text and ByteString
- Unicode-aware
Alternatives
The same job
These do what string-interpolate does.
- text Efficient packed Unicode text for Haskell
- text-short Memory-efficient ShortText type for many short Unicode strings in Haskell
- bytestring Fast, compact strict and lazy byte strings for Haskell
- case-insensitive Haskell type for case-insensitive comparison of String, Text or ByteString