| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
Stack2nix.PP
Synopsis
- ppIndented :: Doc -> String
 - ppSingletons :: Doc -> String
 
Documentation
ppIndented :: Doc -> String Source #
Formats the derivation doc with indentation and lines wrapped at 100 chars.
ppSingletons :: Doc -> String Source #
Formats the derivation doc without indentation and with each list element and function argument on its own line. We go to this effort to "ugly-print" so that the resulting file is less susceptible to merge conflicts when checked into git.