Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
leancheck Test.LeanCheck Resets any delays in a list-of tiers. Conceptually this function makes a constructor "weightless", assuring the first tier is non-empty.
reset [[], [], ..., xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], [], ..., [x], [y], [z], ...] = [[x], [y], [z], ...]
Typically used when defining Listable instances:instance Listable <Type> where tiers = ... \/ reset (cons<N> <Constructor>) \/ ...
Be careful: do not apply reset to recursive data structure constructors. In general this will make the list of size 0 infinite, breaking the tiers invariant (each tier must be finite). -
leancheck Test.LeanCheck.Core Resets any delays in a list-of tiers. Conceptually this function makes a constructor "weightless", assuring the first tier is non-empty.
reset [[], [], ..., xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], [], ..., [x], [y], [z], ...] = [[x], [y], [z], ...]
Typically used when defining Listable instances:instance Listable <Type> where tiers = ... \/ reset (cons<N> <Constructor>) \/ ...
Be careful: do not apply reset to recursive data structure constructors. In general this will make the list of size 0 infinite, breaking the tiers invariant (each tier must be finite). -
leancheck Test.LeanCheck.Error Resets any delays in a list-of tiers. Conceptually this function makes a constructor "weightless", assuring the first tier is non-empty.
reset [[], [], ..., xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], xs, ys, zs, ...] = [xs, ys, zs, ...]
reset [[], [], ..., [x], [y], [z], ...] = [[x], [y], [z], ...]
Typically used when defining Listable instances:instance Listable <Type> where tiers = ... \/ reset (cons<N> <Constructor>) \/ ...
Be careful: do not apply reset to recursive data structure constructors. In general this will make the list of size 0 infinite, breaking the tiers invariant (each tier must be finite). newtype
ComposeTraversable (f :: Type -> Type) (g :: Type -> Type) aselective Control.Selective Composition of a selective functor f and an applicative traversable functor g.
ComposeTraversable :: f (g a) -> ComposeTraversable (f :: Type -> Type) (g :: Type -> Type) aselective Control.Selective No documentation available.
type family
CollapseTo (h :: k -> Type -> l -> Type) xsop-core Data.SOP Maps products to lists, and sums to identities.
type family
CollapseTo (h :: k -> Type -> l -> Type) xsop-core Data.SOP.Classes Maps products to lists, and sums to identities.
-
auto-update Control.AutoUpdate Settings to control how values are updated. This should be constructed using defaultUpdateSettings and record update syntax, e.g.:
let settings = defaultUpdateSettings { updateAction = getCurrentTime }
defaultUpdateSettings :: UpdateSettings ()auto-update Control.AutoUpdate Default value for creating an UpdateSettings.
-
auto-update Control.Debounce Settings to control how debouncing should work. This should be constructed using defaultDebounceSettings and record update syntax, e.g.:
let settings = defaultDebounceSettings { debounceAction = flushLog }