Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class
GBCSSumCompare (f :: k -> Type) (g :: k -> Type) (z :: k1) (e :: k2) (o :: k3)generic-random Generic.Random.Internal.BaseCase No documentation available.
-
generic-random Generic.Random.Internal.BaseCase No documentation available.
-
generic-random Generic.Random.Internal.BaseCase No documentation available.
class
GASum opts (f :: Type -> Type)generic-random Generic.Random.Internal.Generic No documentation available.
gaSum :: GASum opts f => opts -> Int -> Weights_ f -> Gen (f p)generic-random Generic.Random.Internal.Generic No documentation available.
gaSum' :: GASum opts f => opts -> Weights_ f -> Int -> Gen (f p)generic-random Generic.Random.Internal.Generic No documentation available.
-
midi Sound.MIDI.MachineControl No documentation available.
-
midi Sound.MIDI.Manufacturer No documentation available.
subsume :: forall (e :: Effect) (r :: EffectRow) a . Member e r => Sem (e ': r) a -> Sem r apolysemy Polysemy Interprets an effect in terms of another identical effect. This is useful for defining interpreters that use reinterpretH without immediately consuming the newly introduced effect. Using such an interpreter recursively may result in duplicate effects, which may then be eliminated using subsume. For a version that can introduce an arbitrary number of new effects and reorder existing ones, see subsume_.
subsume_ :: forall (r :: EffectRow) (r' :: EffectRow) a . Subsume r r' => Sem r a -> Sem r' apolysemy Polysemy Allows reordering and adding known effects on top of the effect stack, as long as the polymorphic "tail" of new stack is a raise-d version of the original one. This function is highly polymorphic, so it may be a good idea to use its more concrete version (subsume), fitting functions from the raise family or type annotations to avoid vague errors in ambiguous contexts.