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.
maybeWith :: MonadIO m => (a -> (Ptr b -> m c) -> m c) -> Maybe a -> (Ptr b -> m c) -> m cunliftio UnliftIO.Foreign Lifted maybeWith.
maybeBraces :: Bool -> Doc a -> Doc apretty Text.PrettyPrint.Annotated.HughesPJ maybeBrackets :: Bool -> Doc a -> Doc apretty Text.PrettyPrint.Annotated.HughesPJ maybeDoubleQuotes :: Bool -> Doc a -> Doc apretty Text.PrettyPrint.Annotated.HughesPJ Apply doubleQuotes to Doc if boolean is true.
maybeParens :: Bool -> Doc a -> Doc apretty Text.PrettyPrint.Annotated.HughesPJ maybeQuotes :: Bool -> Doc a -> Doc apretty Text.PrettyPrint.Annotated.HughesPJ maybeBraces :: Bool -> Doc -> Docpretty Text.PrettyPrint.HughesPJ maybeBrackets :: Bool -> Doc -> Docpretty Text.PrettyPrint.HughesPJ maybeDoubleQuotes :: Bool -> Doc -> Docpretty Text.PrettyPrint.HughesPJ Apply doubleQuotes to Doc if boolean is true.
maybeParens :: Bool -> Doc -> Docpretty Text.PrettyPrint.HughesPJ