| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RIO.PrettyPrint.Types
Description
For the most part, the data constructors of Style do not clash with other
names. When they do, import the module qualified. For example:
import qualified RIO.PrettyPrint.Types.PrettyPrint as PP
Documentation
Type representing styles of output.
Constructors
| Error | Intended to be used sparingly, not to style entire long messages. For
example, to style the |
| Warning | Intended to be used sparingly, not to style entire long messages. For
example, to style the |
| Info | Intended to be used sparingly, not to style entire long messages. For
example, to style the |
| Debug | Intended to be used sparingly, not to style entire long messages. For
example, to style the |
| OtherLevel | Intended to be used sparingly, not to style entire long messages. For
example, to style the |
| Good | Style in a way to emphasize that it is a particularly good thing. |
| Shell | Style as a shell command, i.e. when suggesting something to the user that should be typed in directly as written. |
| File | Style as a filename. See |
| Url | Style as a URL. |
| Dir | Style as a directory name. See |
| Recommendation | Style used to highlight part of a recommended course of action. |
| Current | Style in a way that emphasizes that it is related to a current thing. For example, to report the current package that is being processed when outputting the name of it. |
| Target | Style used the highlight the target of a course of action. |
| Module | Style as a module name. |
| PkgComponent | Style used to highlight the named component of a package. |
| Secondary | Style for secondary content. For example, to style timestamps. |
| Highlight | Intended to be used sparingly, not to style entire long messages. For
example, to style the duration in a |