Hoogle Search
Within LTS Haskell 24.26 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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
-
singleton-bool Data.Singletons.Bool No documentation available.
sboolAnd :: forall (a :: Bool) (b :: Bool) . SBool a -> SBool b -> SBool (a && b)singleton-bool Data.Singletons.Bool >>> sboolAnd STrue SFalse SFalse
sboolEqRefl :: forall k (a :: k) (b :: k) . SBoolI (a == b) => Maybe (a :~: b)singleton-bool Data.Singletons.Bool sboolNot :: forall (a :: Bool) . SBool a -> SBool (Not a)singleton-bool Data.Singletons.Bool No documentation available.
sboolOr :: forall (a :: Bool) (b :: Bool) . SBool a -> SBool b -> SBool (a || b)singleton-bool Data.Singletons.Bool No documentation available.
withSomeSBool :: Bool -> (forall (b :: Bool) . () => SBool b -> r) -> rsingleton-bool Data.Singletons.Bool Convert a normal Bool to an SBool, passing it into a continuation.
>>> withSomeSBool True fromSBool True
flagFromBool :: FlagSpec a -> Bool -> askeletest Skeletest No documentation available.