ContentsIndex
Helpers.PrettyPrint
Description
PrettyPrint provides tools for colored output to the terminal
Synopsis
putColorStr :: Color -> String -> IO ()
putColorStrLn :: Color -> String -> IO ()
putColorBStr :: Color -> ByteString -> IO ()
putColorBStrLn :: Color -> ByteString -> IO ()
data Color
= Black
| Red
| Green
| Yellow
| Blue
| Magenta
| Cyan
| White
| Reset
Documentation
putColorStr :: Color -> String -> IO ()
print a colored string to the terminal
putColorStrLn :: Color -> String -> IO ()
putColorBStr :: Color -> ByteString -> IO ()
print a colored ByteString to the terminal
putColorBStrLn :: Color -> ByteString -> IO ()
data Color
available colors
Constructors
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White
Reset
show/hide Instances
Enum Color
Produced by Haddock version 2.4.2