Skip to content

ttc-haskell 1.1.0.2

Compare
Choose a tag to compare
@TravisCardwell TravisCardwell released this 23 Aug 04:57
· 198 commits to main since this release

Overview

TTC, an initialism of Textual Type Classes, is a library that provides the following functionality:

  • The Textual type class is used to convert between common textual data types. It can be used to write functions that accept or return values of any of these textual data types.
  • The Render type class is used to render a value as text. Avoid bugs by only using Show for debugging/development purposes.
  • The Parse type class is used to parse a value from text. Unlike Read, it has support for error messages.
  • Validate constants at compile-time using Parse instances.

See the README for details.

This Release

This release makes changes for compatibility with GHC 9.2.1 (rc1). There are no changes to the TTC API.

Compatibility

TTC is currently tested with GHC 8.2.2 (Stackage LTS 11.22) through GHC 9.0.1. The .cabal file uses Cabal version 1.24 (included with GHC 8.2.2), so it should build fine on relatively old Haskell installations as well as current installations.

To use this release with a Stackage snapshot that does not include it, add the following to your stack.yaml configuration:

extra-deps:
  - ttc-1.1.0.2

Issues

There are no known issues at this time.