Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
_Just :: forall a b p f . (Choice p, Applicative f) => p a (f b) -> p (Maybe a) (f (Maybe b))proto-lens Data.ProtoLens.Prism No documentation available.
adjustNested :: (Ord k, Foldable t, IsList (t a)) => (t a -> t a) -> k -> Map k (t a) -> Map k (t a)skeletest Skeletest.Internal.Utils.Map Same as adjust, except defaulting to an empty structure if it doesn't exist, and deleting the key if the adjusted value is empty.
class
SqlJustable a b | b -> abeam-core Database.Beam.Query Type class for things that can be nullable. This includes 'QExpr (Maybe a)', 'tbl (Nullable QExpr)', and 'PrimaryKey tbl (Nullable QExpr)'
isJust_ :: SqlDeconstructMaybe be a nonNullA s => a -> QGenExpr ctxt be s Boolbeam-core Database.Beam.Query Returns a QExpr that evaluates to true when the first argument is not null
makeJustPattern :: Name -> Patdbus DBus.Generation No documentation available.
-
effectful-core Effectful.Exception Lifted catchJust.
-
effectful-core Effectful.Exception Flipped version of catchJust.
-
effectful-core Effectful.Exception Lifted tryJust.
showJustName :: Name -> Stringexpress Data.Express.Utils.TH Encodes a Name as a String. This is useful when generating error messages.
> showJustName ''Int "Int"
> showJustName ''String "String"
> showJustName ''Maybe "Maybe"
-
foundation Foundation The isJust function returns True iff its argument is of the form Just _.
Examples
Basic usage:>>> isJust (Just 3) True
>>> isJust (Just ()) True
>>> isJust Nothing False
Only the outer constructor is taken into consideration:>>> isJust (Just Nothing) True