From 4404be284d29068d5eb581c8e6c5e70ab542deaa Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 26 Mar 2012 20:18:23 +0000 Subject: [PATCH] Fix List.foldl / Map.foldl ambiguosity Fixes the following error: src/runtime/haskell/PGF/Expr.hs:111:14: Ambiguous occurrence `foldl' It could refer to either `List.foldl', imported from `Data.List' at src/runtime/haskell/PGF/Expr.hs:27:1-24 (and originally defined in `GHC.List') or `Map.foldl', imported from `Data.Map' at src/runtime/haskell/PGF/Expr.hs:28:1-40 --- src/runtime/haskell/PGF/Expr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/haskell/PGF/Expr.hs b/src/runtime/haskell/PGF/Expr.hs index 456518555..5fbcdf120 100644 --- a/src/runtime/haskell/PGF/Expr.hs +++ b/src/runtime/haskell/PGF/Expr.hs @@ -25,7 +25,7 @@ import PGF.Type import Data.Char import Data.Maybe import Data.List as List -import Data.Map as Map hiding (showTree) +import qualified Data.Map as Map hiding (showTree) import Control.Monad import qualified Text.PrettyPrint as PP import qualified Text.ParserCombinators.ReadP as RP