Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromJustNote :: Partial => String -> Maybe a -> ahledger Hledger.Cli.Script No documentation available.
lookupJust :: (Eq a, Partial) => a -> [(a, b)] -> bhledger Hledger.Cli.Script lookupJust key = fromJust . lookup key
lookupJustDef :: Eq a => b -> a -> [(a, b)] -> bhledger Hledger.Cli.Script No documentation available.
lookupJustNote :: (Partial, Eq a) => String -> a -> [(a, b)] -> bhledger Hledger.Cli.Script No documentation available.
takingJusts :: forall a (m :: Type -> Type) . Monad m => MachineT m (Is (Maybe a)) amachines Data.Machine.Process A Process that passes through elements unwrapped from Just until a Nothing is found, then stops. This can be constructed from a plan with
takingJusts :: Process (Maybe a) a takingJusts = repeatedly $ await >>= maybe stop yield
Examples:>>> run $ takingJusts <~ source [Just 1, Just 2, Nothing, Just 3, Just 4] [1,2]
adjust :: (Ord k, MonoidNull v) => (v -> v) -> k -> MonoidMap k v -> MonoidMap k vmonoidmap Data.MonoidMap Adjusts the value associated with the given key. Satisfies the following property:
adjust f k m == set k (f (get k m)) m
filterJust :: Event (Maybe a) -> Event areactive-banana Reactive.Banana.Combinators Allow all event occurrences that are Just values, discard the rest. Variant of filterE.
filterJust :: Event (Maybe a) -> Event areactive-banana Reactive.Banana.Model No documentation available.
filterJustP :: Pulse (Maybe a) -> Build (Pulse a)reactive-banana Reactive.Banana.Prim.Mid No documentation available.
filterJust :: Event (Maybe a) -> Event areactive-banana-bunch Reactive.Banana.Bunch.Combinators No documentation available.