I am trying to import and use the prettyprinter package. I have installed the package via stack with the following command:
stack install prettyprinter
However, I have trouble trying to import this package once I load ghci to try it. I have been taking shots in the dark, such as:
import prettyprinter
import Prettyprint
import Data.Text.Prettyprint
... and so on. Can anyone tell me the right command? Since this is just the latest of many similar experiences, I'd also like to know how I can figure out this command for myself using the information on the stackage page.