Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
hackage-security Text.JSON.Canonical No documentation available.
-
mysql Database.MySQL.Base.Types No documentation available.
assertBool :: HasCallStack => String -> Bool -> Assertionpersistent-test Init Asserts that the specified condition holds.
-
Type level booleans Type level booleans. singletons package provides similar functionality, but it has tight dependency constraints.
-
singleton-bool Data.Singletons.Bool No documentation available.
-
singleton-bool Data.Singletons.Bool No documentation available.
discreteBool :: forall (a :: Bool) (b :: Bool) . (SBoolI a, SBoolI b) => Dec (a :~: b)singleton-bool Data.Singletons.Bool Decidable equality.
>>> decShow (discreteBool :: Dec ('True :~: 'True)) "Yes Refl"fromSBool :: forall (b :: Bool) . SBool b -> Boolsingleton-bool Data.Singletons.Bool reflectBool :: forall (b :: Bool) proxy . SBoolI b => proxy b -> Boolsingleton-bool Data.Singletons.Bool Reflect to term-level.
>>> reflectBool (Proxy :: Proxy 'True) True
reifyBool :: Bool -> (forall (b :: Bool) . SBoolI b => Proxy b -> r) -> rsingleton-bool Data.Singletons.Bool Reify Bool to type-level.
>>> reifyBool True reflectBool True