Hoogle Search
Within LTS Haskell 24.5 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
singletons-base Data.Singletons.Base.TH No documentation available.
-
singletons-base Data.Singletons.Base.TH No documentation available.
(
%~ ) :: forall (a :: k) (b :: k) . SDecide k => Sing a -> Sing b -> Decision (a :~: b)singletons-base Data.Singletons.Base.TH Compute a proof or disproof of equality, given two singletons.
(
%<=? ) :: forall (a :: Natural) (b :: Natural) . Sing a -> Sing b -> Sing (a <=? b)singletons-base GHC.TypeLits.Singletons The singleton analogue of <=? Note that, because of historical reasons in GHC's Natural API, <=? is incompatible (unification-wise) with <= and the PEq, SEq, POrd, and SOrd instances for Natural. (a <=? b) ~ 'True does not imply anything about a <= b or any other PEq / POrd relationships. (Be aware that <= in the paragraph above refers to <= from the POrd typeclass, exported from Data.Ord.Singletons, and not the <= from GHC.TypeNats. The latter is simply a type alias for (a <=? b) ~ 'True.) This is provided here for the sake of completeness and for compatibility with libraries with APIs built around <=?. New code should use CmpNat, exposed through this library through the POrd and SOrd instances for Natural.
(
%^ ) :: forall (a :: Natural) (b :: Natural) . Sing a -> Sing b -> Sing (a ^ b)singletons-base GHC.TypeLits.Singletons -
singletons-base Prelude.Singletons No documentation available.
-
singletons-base Prelude.Singletons No documentation available.
-
singletons-base Prelude.Singletons No documentation available.
(
%&& ) :: forall (a :: Bool) (b :: Bool) . Sing a -> Sing b -> Sing (a && b)singletons-base Prelude.Singletons Conjunction of singletons
-
singletons-base Prelude.Singletons No documentation available.