From d790af2bd46b3c71ff949eb7bd68ec8a15825b69 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 9 Sep 2026 05:44:28 +0200 Subject: [PATCH] add import Control.Monad in imports --- src/compiler/api/GF/Compile/PGFtoHaskell.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/api/GF/Compile/PGFtoHaskell.hs b/src/compiler/api/GF/Compile/PGFtoHaskell.hs index c5704e737..07024712c 100644 --- a/src/compiler/api/GF/Compile/PGFtoHaskell.hs +++ b/src/compiler/api/GF/Compile/PGFtoHaskell.hs @@ -50,7 +50,7 @@ grammar2haskell opts name gr = foldr (++++) [] $ derivingClause | dataExt = "deriving (Show,Data)" | otherwise = "deriving Show" - extraImports | gadt = ["import Control.Monad.Identity", "import Data.Monoid"] + extraImports | gadt = ["import Control.Monad.Identity", "import Control.Monad", "import Data.Monoid"] | dataExt = ["import Data.Data"] | otherwise = [] pgfImports = ["import PGF2", ""]