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. maybeF :: Buildable a => Maybe a -> Builder

    fmt Fmt

    Like build for Maybe, but displays Nothing as <Nothing> instead of an empty string. build:

    >>> build (Nothing :: Maybe Int)
    ""
    
    >>> build (Just 1 :: Maybe Int)
    "1"
    
    maybeF:
    >>> maybeF (Nothing :: Maybe Int)
    "<Nothing>"
    
    >>> maybeF (Just 1 :: Maybe Int)
    "1"
    

  2. maybeF :: Buildable a => Maybe a -> Builder

    fmt Fmt.Internal.Formatters

    Like build for Maybe, but displays Nothing as <Nothing> instead of an empty string. build:

    >>> build (Nothing :: Maybe Int)
    ""
    
    >>> build (Just 1 :: Maybe Int)
    "1"
    
    maybeF:
    >>> maybeF (Nothing :: Maybe Int)
    "<Nothing>"
    
    >>> maybeF (Just 1 :: Maybe Int)
    "1"
    

  3. maybe_ :: b -> (a -> b) -> Maybe a -> b

    singletons-base Data.Maybe.Singletons

    No documentation available.

  4. maybe_ :: b -> (a -> b) -> Maybe a -> b

    singletons-base Prelude.Singletons

    No documentation available.

  5. maybeMoveB :: TextUnit -> Direction -> BufferM ()

    yi-core Yi.Buffer.Normal

    As moveB, unless the point is at a unit boundary

  6. maybeMoveB :: TextUnit -> Direction -> BufferM ()

    yi-core Yi.Buffer.TextUnit

    As moveB, unless the point is at a unit boundary

  7. maybeMoveB :: TextUnit -> Direction -> BufferM ()

    yi-core Yi.Config.Simple

    As moveB, unless the point is at a unit boundary

  8. maybeM :: Monad m => (x -> m ()) -> Maybe x -> m ()

    yi-core Yi.Monad

    No documentation available.

  9. maybed :: Builder -> Format Builder (a -> Builder) -> Format r (Maybe a -> r)

    formatting Formatting.Combinators

    Render a Maybe value either as a default (if Nothing) or using the given formatter:

    >>> format (maybed "Goodbye" text) Nothing
    "Goodbye"
    
    >>> format (maybed "Goodbye" text) (Just "Hello")
    "Hello"
    

  10. maybeMIDIEvent :: T -> Maybe T

    midi Sound.MIDI.File.Event

    No documentation available.

Page 41 of many | Previous | Next