Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
automaton Data.Automaton.Trans.Maybe Remove the MaybeT layer by outputting Nothing when the exception occurs. The current state is then tested again on the next input.
runMaybeT :: MaybeT (m :: Type -> Type) a -> m (Maybe a)automaton Data.Automaton.Trans.Maybe No documentation available.
-
automaton Data.Automaton.Trans.Maybe Run the first automaton until the second one produces True from the output of the first.
readMaybe :: Read a => String -> Maybe abase-prelude BasePrelude Parse a string using the Read instance. Succeeds if there is exactly one valid result.
>>> readMaybe "123" :: Maybe Int Just 123
>>> readMaybe "hello" :: Maybe Int Nothing
eqMaybeE :: IsSql92ExpressionSyntax expr => expr -> expr -> expr -> exprbeam-core Database.Beam.Backend.SQL.SQL92 Compare the first and second argument for nullable equality, if they are both not null, return the result of the third expression Some backends, like beam-postgres totally ignore the third result, because all equality there is sensible.
neqMaybeE :: IsSql92ExpressionSyntax expr => expr -> expr -> expr -> exprbeam-core Database.Beam.Backend.SQL.SQL92 Compare the first and second argument for nullable equality, if they are both not null, return the result of the third expression Some backends, like beam-postgres totally ignore the third result, because all equality there is sensible.
-
beam-core Database.Beam.Query Synonym of OneToManyOptional. Useful for giving more meaningful types, when the relationship is meant to be one-to-one.
-
beam-core Database.Beam.Query Type class for anything which can be checked for null-ness. This includes 'QExpr (Maybe a)' as well as Tables or PrimaryKeys over 'Nullable QExpr'.
-
beam-core Database.Beam.Query Convert a Maybe value to a concrete value, by suppling a default
-
beam-core Database.Beam.Query Conditionally limit the number of results returned by a query.