Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. maybeFilePath :: Event -> Maybe RawFilePath

    hinotify System.INotify

    No documentation available.

  2. maybeFilePath :: Event -> Maybe RawFilePath

    hinotify System.INotify

    No documentation available.

  3. maybeToList :: Maybe a -> [a]

    incipit-base Incipit.Base

    The maybeToList function returns an empty list when given Nothing or a singleton list when given Just.

    Examples

    Basic usage:
    >>> maybeToList (Just 7)
    [7]
    
    >>> maybeToList Nothing
    []
    
    One can use maybeToList to avoid pattern matching when combined with a function that (safely) works on lists:
    >>> import GHC.Internal.Text.Read ( readMaybe )
    
    >>> sum $ maybeToList (readMaybe "3")
    3
    
    >>> sum $ maybeToList (readMaybe "")
    0
    

  4. maybeToLeft :: r -> Maybe l -> Either l r

    incipit-base Incipit.Either

    Turn Just into Left and Nothing into Right with the supplied value.

  5. maybeToRight :: l -> Maybe r -> Either l r

    incipit-base Incipit.Either

    Turn Just into Right and Nothing into Left with the supplied value.

  6. maybeYield :: forall o (k :: Type -> Type) . Maybe o -> Plan k o ()

    machines Data.Machine.Plan

    Like yield, except stops if there is no value to yield.

  7. maybeD :: (a -> Q [Dec]) -> Maybe a -> Q [Dec]

    names-th Language.Haskell.TH.Lib.Extra

    May generate declaration template.

  8. maybeOpenRxWindow :: Int -> FlowControlType -> RxFlow -> (RxFlow, Maybe Int)

    network-control Network.Control

    Record that we have consumed some received data May return a window update; see RxFlow for details.

  9. maybeMap :: forall a b p f . (Profunctor p, Functor f) => p (Map a b) (f (Map a b)) -> p (Maybe (Map a b)) (f (Maybe (Map a b)))

    pontarius-xmpp Network.Xmpp.IM.PresenceTracker

    No documentation available.

  10. maybeList :: [Maybe e] -> By6Bits e

    primitive-extras PrimitiveExtras.By6Bits

    No documentation available.

Page 42 of many | Previous | Next