summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile
diff options
context:
space:
mode:
authorAarne Ranta <aarne@chalmers.se>2017-09-06 10:51:43 +0200
committerAarne Ranta <aarne@chalmers.se>2017-09-06 10:51:43 +0200
commit8005aee378725a96d5623b63fa3cc62bbc01a2b6 (patch)
tree797a2826415a7779252f75a59afe34eb5298baa3 /src/compiler/GF/Compile
parent18f2135785a71a1e93519a060d40b7ba523cf03b (diff)
in Haskell GADT generation, hide Tree in the import of PGF
Diffstat (limited to 'src/compiler/GF/Compile')
-rw-r--r--src/compiler/GF/Compile/PGFtoHaskell.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/PGFtoHaskell.hs b/src/compiler/GF/Compile/PGFtoHaskell.hs
index f4e3a0297..89366568d 100644
--- a/src/compiler/GF/Compile/PGFtoHaskell.hs
+++ b/src/compiler/GF/Compile/PGFtoHaskell.hs
@@ -56,7 +56,7 @@ haskPreamble gadt name =
"import Data.Monoid"
] else []) ++
[
- "import PGF",
+ "import PGF hiding (Tree)",
"----------------------------------------------------",
"-- automatic translation from GF to Haskell",
"----------------------------------------------------",