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.
SfxSummonTooManyAll :: ActorId -> SfxMsgLambdaHack Game.LambdaHack.Atomic.CmdAtomic No documentation available.
SfxSummonTooManyOwn :: ActorId -> SfxMsgLambdaHack Game.LambdaHack.Atomic.CmdAtomic No documentation available.
UpdResume :: FactionId -> PerLid -> UpdAtomicLambdaHack Game.LambdaHack.Atomic.CmdAtomic No documentation available.
UpdResumeServer :: State -> UpdAtomicLambdaHack Game.LambdaHack.Atomic.CmdAtomic No documentation available.
updResumeServer :: MonadStateWrite m => State -> m ()LambdaHack Game.LambdaHack.Atomic.HandleAtomicWrite No documentation available.
-
LambdaHack Game.LambdaHack.Common.Item No documentation available.
-
LambdaHack Game.LambdaHack.Common.Item No documentation available.
type
HiSummand = (HiPolynomial, [Outcome])LambdaHack Game.LambdaHack.Content.FactionKind No documentation available.
ConsumeItems :: [(Int, GroupName ItemKind)] -> [(Int, GroupName ItemKind)] -> EffectLambdaHack Game.LambdaHack.Content.ItemKind ConsumeItems toUse toDestroy uses items matching toUse (destroys non-durable, without invoking OnSmash effects; applies normal effects of durable, without destroying them; the same behaviour as when transforming terrain using items) and destroys items matching toDestroy, invoking no effects, regardless of durability; the items are taken from CGround (but not from CEqp), preferring non-durable (since durable can harm when used and may be more vauable when destroyed); if not all required items are present, no item are destroyed; if an item belongs to many groups in the sum of toUse and toDestroy, it counts for all (otherwise, some orders of destroying would succeed, while others would not); even if item durable, as many copies are needed as specified, not just one applied many times; items are first destroyed and then, if any copies left, applied
msum :: (Foldable t, MonadPlus m) => t (m a) -> m aLambdaHack Game.LambdaHack.Core.Prelude The sum of a collection of actions using (<|>), generalizing concat. msum is just like asum, but specialised to MonadPlus.
Examples
Basic usage, using the MonadPlus instance for Maybe:>>> msum [Just "Hello", Nothing, Just "World"] Just "Hello"