We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57dc5e9 commit 9325c8fCopy full SHA for 9325c8f
src/compiler/GF/Compile/PGFtoHaskell.hs
@@ -51,7 +51,7 @@ grammar2haskell opts name gr = foldr (++++) [] $
51
derivingClause
52
| dataExt = "deriving (Show,Data)"
53
| otherwise = "deriving Show"
54
- extraImports | gadt = ["import Control.Monad.Identity", "import Data.Monoid"]
+ extraImports | gadt = ["import Control.Monad.Identity", "import Control.Monad", "import Data.Monoid"]
55
| dataExt = ["import Data.Data"]
56
| otherwise = []
57
pgfImports | pgf2 = ["import PGF2 hiding (Tree)", "", "showCId :: CId -> String", "showCId = id"]
0 commit comments