Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
KnownSet s a = Reifies s Set arefined-containers Data.Set.Refined A constraint evidencing that we know the contents of the set s at runtime. Whenever you see this constraint on a function, there is an actual Set a being passed around at runtime. Given this constraint, to obtain a regular Set a you can use reflect.
data
Some2SetWith (p :: Type -> Type -> Type) arefined-containers Data.Set.Refined An existential wrapper for an as-yet-unknown pair of sets, together with a proof of some fact p relating them.
-
refined-containers Data.Set.Refined No documentation available.
-
refined-containers Data.Set.Refined An existential wrapper for an as-yet-unknown set. Pattern maching on it gives you a way to refer to the set, e.g.
case fromSet ... of SomeSet @s _ -> doSomethingWith @s case fromSet ... of SomeSet (_ :: Proxy# s) -> doSomethingWith @s
SomeSet :: forall s a . KnownSet s a => Proxy# s -> SomeSet arefined-containers Data.Set.Refined No documentation available.
data
SomeSetWith (p :: Type -> Type) arefined-containers Data.Set.Refined An existential wrapper for an as-yet-unknown set, together with a proof of some fact p about the set. Pattern matching on it gives you a way to refer to the set (the parameter s). Most functions will return a set in this way, together with a proof that somehow relates the set to the function's inputs.
SomeSetWith :: forall s a (p :: Type -> Type) . KnownSet s a => !p s -> SomeSetWith p arefined-containers Data.Set.Refined No documentation available.
newtype
SubsetProof (f :: Flavor) s rrefined-containers Data.Set.Refined Proof that s is a subset of the set r.
SubsetProof :: (InSet f s :-> InSet f r) -> SubsetProof (f :: Flavor) s rrefined-containers Data.Set.Refined newtype
SupersetProof (f :: Flavor) s rrefined-containers Data.Set.Refined Proof that s is a superset of the set r.