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

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