TTC (Textual Type Classes) is a Haskell library that provides type classes for conversion between data types and textual data types (strings). This article series provides a guided tour of the library.
- Textual Type Class discusses the
Textualtype class, used to convert between the many textual data types available in Haskell.
- Render and Parse discusses the
Rendertype class, used to render a textual representation of a type, and the
Parsetype class, used to parse a value from a textual representation. These type classes provide many benefits over using the
- Validated Constants discusses functions that use a
Parseinstance to validate constants at compile-time.
- Best Practices discusses some best practices to keep in mind when using the library.