type-equality

Data.Type.Equality compat package https://github.com/hesselink/type-equality

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 stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Oleg Grenrus, Ryan Scott, Erik Hesselink, Martijn van Steenbergen

This library defines a propositional equality data type, shims @Data.Type.Equality" as well as possible for older GHCs (< 7.8).

data a :~: b where
    Refl :: a :~: a

The module Data.Type.Equality.Hetero shims :~~: equality, for compilers with PolyKinds

Changes

1

  • Rewrite the library to contain a shim of recent base Data.Type.Equality module.

0.1.2

  • Add subst2. Thanks to James Koppel.

0.1.1

  • Turn on PolyKinds for GHC >= 7.6. Thanks to Ben Franksen.

0.1.0.2

  • Move ‘Build-depends’ to ‘Library’ section. Thanks to Brent Yorgey.

0.1.0.1

  • Added EqT instance for (:=:)
  • Removed ‘cast’ as synonym for ‘coerce’.
  • Show and read instances for (:=:).
  • Lots of small changes.

0.1.0

  • Initial version.