Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapMaybeI :: Monoidal f => (a -> f (Maybe b)) -> [a] -> f [b]invertible Control.Invertible.Monoidal Map each element to a Maybe monoidal and sequence the results (like traverse and mapMaybe).
sequenceMaybesI :: Monoidal f => [f (Maybe a)] -> f [a]invertible Control.Invertible.Monoidal Sequence (like sequenceA) and filter (like catMaybes) a list of monoidals, producing the list of non-Nothing values. Shorter input lists pad with Nothings and longer ones are ignored.
consMaybe :: (Maybe a, [a]) <-> [a]invertible Data.Invertible.List Convert between (Just head, tail) and the non-empty list head:tail, or (Nothing, list) and list.
fromMaybe :: Eq a => a -> Maybe a <-> ainvertible Data.Invertible.Maybe Convert between Nothing and a default value, or Just and its value (not a true bijection).
listToMaybe :: [a] <-> Maybe ainvertible Data.Invertible.Maybe Convert between (the head of) a (singleton) list and Maybe (see listToMaybe). (invert maybeToList)
lookupBaseMaybe :: ParseYamlFile a => BaseDir -> Object -> Text -> Parser (Maybe a)keter Keter.Yaml.FilePath A replacement for the .:? operator which will both parse a file path and apply the relative file logic.
satisfyMaybe :: (FromServerMessage -> Maybe a) -> Session alsp-test Language.LSP.Test Consumes and returns the result of the specified predicate if it returns Just.
getMaybeBij :: MaybeBij -> Maybe Bijmappings Data.Bijection No documentation available.
data
OnMaybe (k1 :: k) (m :: Type -> Type) vmappings Data.Mapping Maps on Maybe
OnMaybe :: v -> m v -> OnMaybe (k1 :: k) (m :: Type -> Type) vmappings Data.Mapping No documentation available.