/usr/share/doc/libghc-stringbuilder-doc/html/stringbuilder.txt is in libghc-stringbuilder-doc 0.5.0-6build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A writer monad for multi-line string literals
--
-- <a>https://github.com/sol/stringbuilder#readme</a>
@package stringbuilder
@version 0.5.0
-- | The <a>build</a> function can be used to construct multi-line string
-- literals in a monadic way:
--
-- <pre>
-- {-# LANGUAGE OverloadedStrings #-}
--
-- import Data.String.Builder
--
-- mystring :: String
-- mystring = build $ do
-- "foo"
-- "bar"
-- "baz"
-- </pre>
module Data.String.Builder
-- | Run a builder.
build :: Builder -> String
-- | Add a literal string.
literal :: String -> Builder
type Builder = BuilderM ()
-- | A writer monad for string literals.
data BuilderM a
instance GHC.Base.Functor Data.String.Builder.BuilderM
instance GHC.Base.Applicative Data.String.Builder.BuilderM
instance GHC.Base.Monad Data.String.Builder.BuilderM
instance GHC.Base.Monoid Data.String.Builder.Builder
instance a ~ () => Data.String.IsString (Data.String.Builder.BuilderM a)
|