Skip to content

ttc-haskell 1.1.0.1

Compare
Choose a tag to compare
@TravisCardwell TravisCardwell released this 25 Jun 00:06
· 210 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 to the Nix configuration. There are no changes
to the TTC API.

Nix Configuration

  • The shell.nix file now supports testing against the following GHC versions
    using known working nixpkgs revisions.

    • GHC 8.2.2
    • GHC 8.4.4
    • GHC 8.6.5
    • GHC 8.8.4
    • GHC 8.10.4
    • GHC 9.0.1
  • The default.nix file is removed.

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.1

Issues

There are no known issues at this time.