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.
-
relational-schemas Database.Custom.SQLite3 Join sub-query. Query result is Maybe. The combinations of query and queryMaybe express inner joins, left outer joins, right outer joins, and full outer joins. Here is an example of a right outer join:
outerJoin = relation $ do e <- queryMaybe employee d <- query department on $ e ?! E.deptId' .=. just (d ! D.deptId') return $ (,) |$| e |*| d
queryMaybe' :: MonadQuery m => Relation p r -> m (PlaceHolders p, Record Flat (Maybe r))relational-schemas Database.Custom.SQLite3 Join sub-query with place-holder parameter p. Query result is Maybe.
showNumMaybe :: (SqlContext c, Num a, IsString b) => Record c (Maybe a) -> Record c (Maybe b)relational-schemas Database.Custom.SQLite3 Unsafely show number into string-like type in records.
-
relational-schemas Database.Custom.SQLite3 Aggregation function SUM.
uniqueQueryMaybe' :: UniqueRelation p c r -> QueryUnique (PlaceHolders p, Record c (Maybe r))relational-schemas Database.Custom.SQLite3 Join unique sub-query with place-holder parameter p. Query result is Maybe.
-
strict-base-types Data.Maybe.Strict Analogous to catMaybes in Data.Maybe.
fromMaybe :: a -> Maybe a -> astrict-base-types Data.Maybe.Strict Given a default value and a Maybe, yield the default value if the Maybe argument is Nothing and extract the value out of the Just otherwise.
-
strict-base-types Data.Maybe.Strict Analogous to listToMaybe in Data.Maybe.
mapMaybe :: (a -> Maybe b) -> [a] -> [b]strict-base-types Data.Maybe.Strict Analogous to mapMaybe in Data.Maybe.
hoistMaybe :: forall (m :: Type -> Type) x a . Monad m => x -> Maybe a -> EitherT x m atransformers-either Control.Monad.Trans.Either