Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. ($+$) :: Doc -> Doc -> Doc

    pretty Text.PrettyPrint.HughesPJ

    Above, with no overlapping. $+$ is associative, with identity empty.

  2. (<+>) :: Doc -> Doc -> Doc

    pretty Text.PrettyPrint.HughesPJ

    Beside, separated by space, unless one of the arguments is empty. <+> is associative, with identity empty.

  3. (<+>) :: Doc ann -> Doc ann -> Doc ann

    prettyprinter Prettyprinter

    (x <+> y) concatenates document x and y with a space in between.

    >>> "hello" <+> "world"
    hello world
    
    x <+> y = x <> space <> y
    

  4. (<+>) :: Doc ann -> Doc ann -> Doc ann

    prettyprinter Prettyprinter.Internal

    (x <+> y) concatenates document x and y with a space in between.

    >>> "hello" <+> "world"
    hello world
    
    x <+> y = x <> space <> y
    

  5. type family (l1 :: [Type]) .++ (l2 :: [Type]) :: [Type]

    servant Servant.API.TypeLevel.List

    Append two type-level lists. Import it as

    import Servant.API.TypeLevel.List (type (.++))
    

  6. (<+?>) :: JsRender doc => doc -> doc -> doc

    ghc GHC.JS.Ppr

    Concatenate with an optional single space

  7. ($+$) :: SDoc -> SDoc -> SDoc

    ghc GHC.Utils.Outputable

    Join two SDoc together vertically

  8. (<+>) :: IsLine doc => doc -> doc -> doc

    ghc GHC.Utils.Outputable

    Join two docs together horizontally with a gap between them.

  9. ($+$) :: Doc -> Doc -> Doc

    ghc GHC.Utils.Ppr

    Above, with no overlapping. $+$ is associative, with identity empty.

  10. (<+>) :: Doc -> Doc -> Doc

    ghc GHC.Utils.Ppr

    Beside, separated by space, unless one of the arguments is empty. <+> is associative, with identity empty.

Page 41 of many | Previous | Next