Closed zhangysh1995 closed 4 years ago
How I import the lib:
import Text.Show.Pretty (ppShow)
or
import Text.Show.Pretty
Neither of these works.
Hi there! To use the library you'll have to declare it as a dependency in your cabal
file. You can find out more about cabal here:
https://www.haskell.org/cabal/
Once you've done that you should be able to import any of the modules from the library. Which ones you import, and how you do it, depends on what you are trying to do. A quick introduction to Haskell's module system is here: https://www.haskell.org/tutorial/modules.html
Hi I have a file which uses this lib, but it gives the following error:
My environment;