Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
pretty-simple Text.Pretty.Simple Similar to pPrintForceColor, but just return the resulting pretty-printed data type as a Text instead of printing it to the screen. This function is for printing to a dark background. See pShowNoColor for an example of how to use this function.
pShowDarkBg :: Show a => a -> Textpretty-simple Text.Pretty.Simple Alias for pShow.
pShowLightBg :: Show a => a -> Textpretty-simple Text.Pretty.Simple Just like pShowDarkBg, but for printing to a light background.
pShowNoColor :: Show a => a -> Textpretty-simple Text.Pretty.Simple Like pShow, but without color.
>>> pShowNoColor [ Nothing, Just (1, "hello") ] "[ Nothing\n, Just\n ( 1\n , \"hello\"\n )\n]"
pShowOpt :: Show a => OutputOptions -> a -> Textpretty-simple Text.Pretty.Simple Like pShow but takes OutputOptions to change how the pretty-printing is done.
-
singletons-base Data.Singletons.Base.TH No documentation available.
-
singletons-base Data.Singletons.Base.TH No documentation available.
promoteShowInstance :: OptionsMonad q => Name -> q [Dec]singletons-base Data.Singletons.Base.TH Produce an instance for PShow from the given type
promoteShowInstances :: OptionsMonad q => [Name] -> q [Dec]singletons-base Data.Singletons.Base.TH Produce instances for PShow from the given types
-
singletons-base Data.Singletons.Base.TH No documentation available.