pretty package:clash-lib

PrettyPrec printing class and instances for CoreHW
Verification
Options for the pretty-printer, controlling which elements to hide.
PrettyPrec printing Show-like typeclass
A variant of Pretty that is not polymorphic on the type of annotations. This is needed to derive instances from Clash's pretty printer (PrettyPrec), which annotates documents with Clash-specific information and, therefore, fixes the type of annotations.
This is the default layout algorithm, and it is used by show, putDoc and hPutDoc. layoutPretty commits to rendering something in a certain way if the next element fits the layout constraints; in other words, it has one SimpleDocStream element lookahead when rendering. Consider using the smarter, but a bit less performant, layoutSmart algorithm if the results seem to run off to the right before having lots of line breaks.