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.
maybeF :: Buildable a => Maybe a -> Builderfmt 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"
maybeF :: Buildable a => Maybe a -> Builderfmt 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"
maybe_ :: b -> (a -> b) -> Maybe a -> bsingletons-base Data.Maybe.Singletons No documentation available.
maybe_ :: b -> (a -> b) -> Maybe a -> bsingletons-base Prelude.Singletons No documentation available.
maybeMoveB :: TextUnit -> Direction -> BufferM ()yi-core Yi.Buffer.Normal As moveB, unless the point is at a unit boundary
maybeMoveB :: TextUnit -> Direction -> BufferM ()yi-core Yi.Buffer.TextUnit As moveB, unless the point is at a unit boundary
maybeMoveB :: TextUnit -> Direction -> BufferM ()yi-core Yi.Config.Simple As moveB, unless the point is at a unit boundary
maybeM :: Monad m => (x -> m ()) -> Maybe x -> m ()yi-core Yi.Monad No documentation available.
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"
maybeMIDIEvent :: T -> Maybe Tmidi Sound.MIDI.File.Event No documentation available.