BSD-3-Clause licensed and maintained by Oleg Grenrus
This version can be pinned in stack with:singleton-bool-0.1.6@sha256:1d469f5d5dd9b9308ead832c092bbf7450151884afcaf2bbdab71feb8496e071,1226

Module documentation for 0.1.6

Type level booleans.

singletons package provides similar functionality, but it has tight dependency constraints.

Changes

  • 0.1.6

    • Add boring instances
    • Add some (GEq etc) instances
    • Add deepseq instances
    • Require GHC-7.8+
  • 0.1.5

    • Add discreteBool :: Dec (a :~: b) (GHC-7.8+)
    • Add Show, Eq, Ord SBool b instances.
  • 0.1.4

    • Add fromSBool and withSomeSBool.
  • 0.1.3.0

    • Add reifyBool and reflectBool.
    • Drop GHC-7.4 support (broken PolyKinds)
  • 0.1.2.0

    • Enable PolyKinds on GHC >= 7.6
    • Add sboolEqRefl :: SBoolI (a == b) => Maybe (a :~: b)
  • 0.1.1.0

    • Add eqToRefl, eqCast, trivialRefl