Hoogle Search
Within LTS Haskell 24.54 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
prop_singletonRangeHas :: DiscreteOrdered a => a -> BoolRanged-sets Data.Ranged.Ranges Range Singleton has its member.
prop_singletonRangeHas v = singletonRange v `rangeHas` v
prop_singletonRangeHasOnly :: DiscreteOrdered a => a -> a -> BoolRanged-sets Data.Ranged.Ranges Range Singleton has only its member.
prop_singletonHasOnly v1 v2 = (v1 == v2) == (singletonRange v1 `rangeHas` v2)
rangeSingletonValue :: DiscreteOrdered v => Range v -> Maybe vRanged-sets Data.Ranged.Ranges If the range is a singleton, returns Just the value. Otherwise returns Nothing. Known bug: This always returns Nothing for ranges including BoundaryBelowAll or BoundaryAboveAll. For bounded types this can be incorrect. For instance, the following range only contains one value:
Range (BoundaryBelow maxBound) BoundaryAboveAll
-
generics-sop-lens Generics.SOP.Lens No documentation available.
-
generics-sop-lens Generics.SOP.Lens No documentation available.
modNodeMapSingleton :: ModNodeKey -> a -> ModNodeMap aghc-lib GHC.Driver.Make No documentation available.
-
gogol-container Gogol.Container Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true.
-
gogol-container Gogol.Container.Types Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true.
pattern
ExecutionStageSummary_Kind_SINGLETONKIND :: ExecutionStageSummary_Kindgogol-dataflow Gogol.Dataflow Creates a Singleton view of a collection.
pattern
TransformSummary_Kind_SINGLETONKIND :: TransformSummary_Kindgogol-dataflow Gogol.Dataflow Creates a Singleton view of a collection.