diff options
| author | Sergei Trofimovich <slyfox@community.haskell.org> | 2012-03-26 20:18:23 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@community.haskell.org> | 2012-03-26 20:18:23 +0000 |
| commit | 24740d250b195450e28b496733390633910da1cf (patch) | |
| tree | 2b9ee701564f136fe5e0a4dccaa971c543256a1d /src/runtime | |
| parent | a8ddb8fe5cc671a82102101690f0a624eae057fe (diff) | |
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
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/haskell/PGF/Expr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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
|
