Commit e378e8d7 authored by Michael Hanus's avatar Michael Hanus
Browse files

Dependency on wl-pprint added

parent 20a3c07d
......@@ -7,6 +7,7 @@
"license": "BSD-3-Clause",
"licenseFile": "LICENSE",
"dependencies": {
"wl-pprint": ">= 0.0.1"
},
"compilerCompatibility": {
"pakcs": ">= 2.0.0",
......
......@@ -12,7 +12,7 @@ module AbstractHaskell.Printer
, ppDecls
) where
import Pretty
import Text.Pretty
import AbstractHaskell.Types
import AbstractHaskell.Goodies (tyVarsOf)
......@@ -26,7 +26,7 @@ defaultOptions :: Options
defaultOptions = Options { currentModule = "", qualImpModule = const False }
pPrint :: Doc -> String
pPrint = pretty 80
pPrint = showWidth 80
-- ---------------------------------------------------------------------------
-- Functions to print an AbstractHaskell program in standard Haskell syntax
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment