Often I want a function like the following:
pPrintString :: MonadIO m => String -> m ()
This would be similar to pPrint and pString.
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
pPrintandpString.pPrintactually prints out somethingShowable to the console, whilepStringtakes a haskell datatype that has beenshowed and pretty prints it to aText.pPrintStringwould take a Haskell datatype that has already beenshowed and pretty prints it to the screen.