Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromJustDef :: a -> Maybe a -> a

    errors Control.Error

    An alternative name for fromMaybe, to fit the naming scheme of this package. Generally using fromMaybe directly would be considered better style.

  2. isJust :: Maybe a -> Bool

    errors Control.Error

    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
    

  3. lookupJustDef :: Eq a => b -> a -> [(a, b)] -> b

    errors Control.Error

    No documentation available.

  4. tryJust :: forall (m :: Type -> Type) e a . Monad m => e -> Maybe a -> ExceptT e m a

    errors Control.Error.Safe

    A fromJust that fails in the ExceptT monad

  5. isJustT :: Monad m => MaybeT m a -> m Bool

    errors Control.Error.Util

    Analogous to isJust, but for MaybeT

  6. module Diagrams.Parametric.Adjust

    Tools for adjusting the length of parametric objects such as segments and trails.

  7. data AdjustMethod n

    diagrams-lib Diagrams.Parametric.Adjust

    What method should be used for adjusting a segment, trail, or path?

  8. data AdjustOpts n

    diagrams-lib Diagrams.Parametric.Adjust

    How should a segment, trail, or path be adjusted?

  9. data AdjustSide

    diagrams-lib Diagrams.Parametric.Adjust

    Which side of a segment, trail, or path should be adjusted?

  10. adjust :: (N t ~ n, Sectionable t, HasArcLength t, Fractional n) => t -> AdjustOpts n -> t

    diagrams-lib Diagrams.Parametric.Adjust

    Adjust the length of a parametric object such as a segment or trail. The second parameter is an option record which controls how the adjustment should be performed; see AdjustOpts.

Page 42 of many | Previous | Next