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.

  1. _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.

  2. 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.

  3. class SqlJustable a b | b -> a

    beam-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)'

  4. isJust_ :: SqlDeconstructMaybe be a nonNullA s => a -> QGenExpr ctxt be s Bool

    beam-core Database.Beam.Query

    Returns a QExpr that evaluates to true when the first argument is not null

  5. makeJustPattern :: Name -> Pat

    dbus DBus.Generation

    No documentation available.

  6. catchJust :: forall e b (es :: [Effect]) a . Exception e => (e -> Maybe b) -> Eff es a -> (b -> Eff es a) -> Eff es a

    effectful-core Effectful.Exception

    Lifted catchJust.

  7. handleJust :: forall e b (es :: [Effect]) a . (HasCallStack, Exception e) => (e -> Maybe b) -> (b -> Eff es a) -> Eff es a -> Eff es a

    effectful-core Effectful.Exception

    Flipped version of catchJust.

  8. tryJust :: forall e b (es :: [Effect]) a . Exception e => (e -> Maybe b) -> Eff es a -> Eff es (Either b a)

    effectful-core Effectful.Exception

    Lifted tryJust.

  9. showJustName :: Name -> String

    express 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"
    

  10. isJust :: Maybe a -> Bool

    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
    

Page 60 of many | Previous | Next