pPrint actually prints out something Showable to the console, while pString takes a haskell datatype that has been showed and pretty prints it to a Text.
pPrintString would take a Haskell datatype that has already been showed and pretty prints it to the screen.
Often I want a function like the following:
This would be similar to
pPrint
andpString
.pPrint
actually prints out somethingShow
able to the console, whilepString
takes a haskell datatype that has beenshow
ed and pretty prints it to aText
.pPrintString
would take a Haskell datatype that has already beenshow
ed and pretty prints it to the screen.