Resolving dependencies... Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring combinat-0.2.7.1... Building combinat-0.2.7.1... Failed to install combinat-0.2.7.1 Build log ( /home/builder/.cabal/logs/combinat-0.2.7.1.log ): cabal: Entering directory '/tmp/cabal-tmp-1918/combinat-0.2.7.1' Configuring combinat-0.2.7.1... Building combinat-0.2.7.1... Preprocessing library combinat-0.2.7.1... [ 1 of 32] Compiling Math.Combinat.Trees.Nary[boot] ( Math/Combinat/Trees/Nary.hs-boot, dist/build/Math/Combinat/Trees/Nary.o-boot ) [ 2 of 32] Compiling Math.Combinat.Trees.Binary[boot] ( Math/Combinat/Trees/Binary.hs-boot, dist/build/Math/Combinat/Trees/Binary.o-boot ) Math/Combinat/Trees/Binary.hs-boot:7:1: warning: [-Wdodgy-imports] The import item ‘Forest(..)’ suggests that ‘Forest’ has (in-scope) constructors or class methods, but it has none Math/Combinat/Trees/Binary.hs-boot:7:1: warning: [-Wunused-imports] The import of ‘Data.Tree’ is redundant except perhaps to import instances from ‘Data.Tree’ To import instances alone, use: import Data.Tree() [ 3 of 32] Compiling Math.Combinat.Trees.Graphviz ( Math/Combinat/Trees/Graphviz.hs, dist/build/Math/Combinat/Trees/Graphviz.o ) Math/Combinat/Trees/Graphviz.hs:17:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() Math/Combinat/Trees/Graphviz.hs:27:21: warning: [-Wname-shadowing] This binding for ‘lines’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Trees/Graphviz.hs:4:8-35 (and originally defined in ‘base-4.9.0.0:Data.OldList’) Math/Combinat/Trees/Graphviz.hs:44:3: warning: [-Wname-shadowing] This binding for ‘lines’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Trees/Graphviz.hs:4:8-35 (and originally defined in ‘base-4.9.0.0:Data.OldList’) Math/Combinat/Trees/Graphviz.hs:59:3: warning: [-Wname-shadowing] This binding for ‘lines’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Trees/Graphviz.hs:4:8-35 (and originally defined in ‘base-4.9.0.0:Data.OldList’) Math/Combinat/Trees/Graphviz.hs:85:3: warning: [-Wname-shadowing] This binding for ‘lines’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Trees/Graphviz.hs:4:8-35 (and originally defined in ‘base-4.9.0.0:Data.OldList’) Math/Combinat/Trees/Graphviz.hs:106:3: warning: [-Wname-shadowing] This binding for ‘lines’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Trees/Graphviz.hs:4:8-35 (and originally defined in ‘base-4.9.0.0:Data.OldList’) [ 4 of 32] Compiling Math.Combinat.Sign ( Math/Combinat/Sign.hs, dist/build/Math/Combinat/Sign.o ) Math/Combinat/Sign.hs:9:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() [ 5 of 32] Compiling Math.Combinat.Partitions.Vector ( Math/Combinat/Partitions/Vector.hs, dist/build/Math/Combinat/Partitions/Vector.o ) Math/Combinat/Partitions/Vector.hs:13:1: warning: [-Wunused-imports] The import of ‘Data.List’ is redundant except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() Math/Combinat/Partitions/Vector.hs:39:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘worker’: Patterns not matched: [] Math/Combinat/Partitions/Vector.hs:39:17: warning: [-Wname-shadowing] This binding for ‘last’ shadows the existing binding imported from ‘Data.List’ at Math/Combinat/Partitions/Vector.hs:13:1-16 (and originally defined in ‘GHC.List’) Math/Combinat/Partitions/Vector.hs:47:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘decrease’: Patterns not matched: [] Math/Combinat/Partitions/Vector.hs:47:13: warning: [-Wname-shadowing] This binding for ‘last’ shadows the existing binding imported from ‘Data.List’ at Math/Combinat/Partitions/Vector.hs:13:1-16 (and originally defined in ‘GHC.List’) Math/Combinat/Partitions/Vector.hs:56:24: warning: [-Wname-shadowing] This binding for ‘c’ shadows the existing binding bound at Math/Combinat/Partitions/Vector.hs:52:19 Math/Combinat/Partitions/Vector.hs:56:26: warning: [-Wname-shadowing] This binding for ‘u’ shadows the existing binding bound at Math/Combinat/Partitions/Vector.hs:52:21 Math/Combinat/Partitions/Vector.hs:63:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘subtract_rec’: Patterns not matched: [] Math/Combinat/Partitions/Vector.hs:63:16: warning: [-Wname-shadowing] This binding for ‘all’ shadows the existing binding imported from ‘Data.List’ at Math/Combinat/Partitions/Vector.hs:13:1-16 (and originally defined in ‘Data.Foldable’) Math/Combinat/Partitions/Vector.hs:63:21: warning: [-Wname-shadowing] This binding for ‘last’ shadows the existing binding imported from ‘Data.List’ at Math/Combinat/Partitions/Vector.hs:13:1-16 (and originally defined in ‘GHC.List’) Math/Combinat/Partitions/Vector.hs:68:3: warning: [-Wname-shadowing] This binding for ‘subtract’ shadows the existing binding imported from ‘Prelude’ at Math/Combinat/Partitions/Vector.hs:8:8-38 (and originally defined in ‘GHC.Num’) [ 6 of 32] Compiling Math.Combinat.Partitions.Multiset ( Math/Combinat/Partitions/Multiset.hs, dist/build/Math/Combinat/Partitions/Multiset.o ) [ 7 of 32] Compiling Math.Combinat.Numbers.Primes ( Math/Combinat/Numbers/Primes.hs, dist/build/Math/Combinat/Numbers/Primes.o ) Math/Combinat/Numbers/Primes.hs:47:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘sieve’: Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:57:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘fold3t’: Patterns not matched: [] ([]:_) Math/Combinat/Numbers/Primes.hs:59:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘pairs’: Patterns not matched: [] ([]:_) [(_:_)] Math/Combinat/Numbers/Primes.hs:62:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘gaps’: Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:65:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘roll’: Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:69:3: warning: [-Wunused-local-binds] Defined but not used: ‘minus’ Math/Combinat/Numbers/Primes.hs:99:14: warning: [-Wname-shadowing] This binding for ‘k’ shadows the existing binding bound at Math/Combinat/Numbers/Primes.hs:98:11 Math/Combinat/Numbers/Primes.hs:100:22: warning: [-Wname-shadowing] This binding for ‘k’ shadows the existing binding bound at Math/Combinat/Numbers/Primes.hs:98:11 Math/Combinat/Numbers/Primes.hs:223:11: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Math/Combinat/Numbers/Primes.hs:215:3 [ 8 of 32] Compiling Math.Combinat.Helper ( Math/Combinat/Helper.hs, dist/build/Math/Combinat/Helper.o ) Math/Combinat/Helper.hs:8:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() Math/Combinat/Helper.hs:13:1: warning: [-Wunused-imports] The import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() Math/Combinat/Helper.hs:14:1: warning: [-Wunused-imports] The import of ‘Data.Map’ is redundant except perhaps to import instances from ‘Data.Map’ To import instances alone, use: import Data.Map() Math/Combinat/Helper.hs:27:1: warning: SPECIALISE pragma for non-overloaded function ‘swap’ Math/Combinat/Helper.hs:28:1: warning: SPECIALISE pragma for non-overloaded function ‘swap’ Math/Combinat/Helper.hs:83:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘go’: Patterns not matched: [] Math/Combinat/Helper.hs:88:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘go’: Patterns not matched: _ [] Math/Combinat/Helper.hs:92:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘go’: Patterns not matched: _ [] Math/Combinat/Helper.hs:171:10: warning: [-Wname-shadowing] This binding for ‘y’ shadows the existing binding bound at Math/Combinat/Helper.hs:169:16 [ 9 of 32] Compiling Math.Combinat.Numbers ( Math/Combinat/Numbers.hs, dist/build/Math/Combinat/Numbers.o ) Math/Combinat/Numbers.hs:164:5: warning: [-Wname-shadowing] This binding for ‘n’ shadows the existing binding bound at Math/Combinat/Numbers.hs:162:3 [10 of 32] Compiling Math.Combinat.Permutations ( Math/Combinat/Permutations.hs, dist/build/Math/Combinat/Permutations.o ) Math/Combinat/Permutations.hs:75:1: warning: [-Wunused-imports] The import of ‘binomial’ from module ‘Math.Combinat.Numbers’ is redundant Math/Combinat/Permutations.hs:139:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘pairs’: Patterns not matched: [] Math/Combinat/Permutations.hs:225:1: warning: [-Wunused-top-binds] Defined but not used: ‘signValueOfPermutation’ Math/Combinat/Permutations.hs:277:1: warning: [-Wtabs] Tab character found here, and in two further locations. Please use spaces instead. [11 of 32] Compiling Math.Combinat.Sets ( Math/Combinat/Sets.hs, dist/build/Math/Combinat/Sets.o ) Math/Combinat/Sets.hs:31:1: warning: [-Wunused-imports] The import of ‘Data.Array.MArray’ is redundant except perhaps to import instances from ‘Data.Array.MArray’ To import instances alone, use: import Data.Array.MArray() Math/Combinat/Sets.hs:159:1: warning: [-Wunused-top-binds] Defined but not used: ‘makeChoiceFromIndicesNaive’ [12 of 32] Compiling Math.Combinat.Tuples ( Math/Combinat/Tuples.hs, dist/build/Math/Combinat/Tuples.o ) [13 of 32] Compiling Math.Combinat.FreeGroups ( Math/Combinat/FreeGroups.hs, dist/build/Math/Combinat/FreeGroups.o ) Math/Combinat/FreeGroups.hs:46:13: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:65:16: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:65:26: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:73:7: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:86:7: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:118:12: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:127:12: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:139:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:139:35: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:139:45: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:146:27: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:146:37: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:153:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:153:42: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:202:23: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:202:33: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:202:43: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:206:23: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:206:33: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:206:43: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:210:30: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:210:40: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:210:50: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:217:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:217:35: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:223:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:223:42: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:235:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:235:35: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:241:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:241:42: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:255:32: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:255:42: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:264:25: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:264:42: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:274:33: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:274:55: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:280:29: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 Math/Combinat/FreeGroups.hs:280:45: error: Ambiguous occurrence ‘Word’ It could refer to either ‘Prelude.Word’, imported from ‘Prelude’ at Math/Combinat/FreeGroups.hs:6:8-31 (and originally defined in ‘ghc-prim-0.5.0.0:GHC.Types’) or ‘Math.Combinat.FreeGroups.Word’, defined at Math/Combinat/FreeGroups.hs:36:1 cabal: Leaving directory '/tmp/cabal-tmp-1918/combinat-0.2.7.1' cabal: Error: some packages failed to install: combinat-0.2.7.1 failed during the building phase. The exception was: ExitFailure 1