Resolving dependencies... Downloading combinat-0.2.6.0... Configuring combinat-0.2.6.0... Building combinat-0.2.6.0... Preprocessing library combinat-0.2.6.0... [ 1 of 18] 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: Pattern match(es) are non-exhaustive In an equation for `sieve': Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:57:3: Warning: Pattern match(es) are non-exhaustive In an equation for `fold3t': Patterns not matched: [] [] : _ Math/Combinat/Numbers/Primes.hs:59:3: Warning: Pattern match(es) are non-exhaustive In an equation for `pairs': Patterns not matched: [] [] : _ [_ : _] Math/Combinat/Numbers/Primes.hs:62:3: Warning: Pattern match(es) are non-exhaustive In an equation for `gaps': Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:65:3: Warning: Pattern match(es) are non-exhaustive In an equation for `roll': Patterns not matched: _ [] _ Math/Combinat/Numbers/Primes.hs:69:3: Warning: Defined but not used: `minus' Math/Combinat/Numbers/Primes.hs:99:14: Warning: 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: 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: This binding for `bs' shadows the existing binding bound at Math/Combinat/Numbers/Primes.hs:215:3 [ 2 of 18] Compiling Math.Combinat.Numbers.Series ( Math/Combinat/Numbers/Series.hs, dist/build/Math/Combinat/Numbers/Series.o ) Math/Combinat/Numbers/Series.hs:75:13: Warning: This binding for `ks' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:72:24 Math/Combinat/Numbers/Series.hs:172:13: Warning: This binding for `ks' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:168:21 Math/Combinat/Numbers/Series.hs:172:17: Warning: This binding for `ys' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:170:3 Math/Combinat/Numbers/Series.hs:241:17: Warning: This binding for `aks' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:237:22 Math/Combinat/Numbers/Series.hs:241:22: Warning: This binding for `ys' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:239:3 Math/Combinat/Numbers/Series.hs:265:17: Warning: This binding for `aks' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:261:27 Math/Combinat/Numbers/Series.hs:265:22: Warning: This binding for `ys' shadows the existing binding bound at Math/Combinat/Numbers/Series.hs:263:3 [ 3 of 18] Compiling Math.Combinat.Helper ( Math/Combinat/Helper.hs, dist/build/Math/Combinat/Helper.o ) Math/Combinat/Helper.hs:8:1: Warning: 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: 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: 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:82:3: Warning: Pattern match(es) are non-exhaustive In an equation for `go': Patterns not matched: [] Math/Combinat/Helper.hs:87:3: Warning: Pattern match(es) are non-exhaustive In an equation for `go': Patterns not matched: _ [] Math/Combinat/Helper.hs:91:3: Warning: Pattern match(es) are non-exhaustive In an equation for `go': Patterns not matched: _ [] Math/Combinat/Helper.hs:170:10: Warning: This binding for `y' shadows the existing binding bound at Math/Combinat/Helper.hs:168:16 [ 4 of 18] Compiling Math.Combinat.Tuples ( Math/Combinat/Tuples.hs, dist/build/Math/Combinat/Tuples.o ) [ 5 of 18] Compiling Math.Combinat.Numbers ( Math/Combinat/Numbers.hs, dist/build/Math/Combinat/Numbers.o ) Math/Combinat/Numbers.hs:162:5: Warning: This binding for `n' shadows the existing binding bound at Math/Combinat/Numbers.hs:160:3 [ 6 of 18] Compiling Math.Combinat.Sets ( Math/Combinat/Sets.hs, dist/build/Math/Combinat/Sets.o ) [ 7 of 18] Compiling Math.Combinat.Compositions ( Math/Combinat/Compositions.hs, dist/build/Math/Combinat/Compositions.o ) Math/Combinat/Compositions.hs:14:1: Warning: The import of `factorial' from module `Math.Combinat.Numbers' is redundant Math/Combinat/Compositions.hs:75:29: Warning: Defaulting the following constraint(s) to type `Integer' (Integral a0) arising from a use of `compositions' at Math/Combinat/Compositions.hs:75:29-40 (Num a0) arising from a use of `fromIntegral' at Math/Combinat/Compositions.hs:79:11-22 (Ord a0) arising from a use of `>' at Math/Combinat/Compositions.hs:74:9 In the second argument of `($)', namely `compositions len (d - len)' In the expression: map plus1 $ compositions len (d - len) In an equation for `compositions1': compositions1 len' d' | len > d = [] | otherwise = map plus1 $ compositions len (d - len) where plus1 = map (+ 1) len = fromIntegral len' d = fromIntegral d' [ 8 of 18] Compiling Math.Combinat.Partitions ( Math/Combinat/Partitions.hs, dist/build/Math/Combinat/Partitions.o ) Math/Combinat/Partitions.hs:57:1: Warning: The import of `factorial' from module `Math.Combinat.Numbers' is redundant Math/Combinat/Partitions.hs:254:3: Warning: Pattern match(es) are non-exhaustive In an equation for `worker': Patterns not matched: [] Math/Combinat/Partitions.hs:254:17: Warning: This binding for `last' shadows the existing binding imported from `Data.List' at Math/Combinat/Partitions.hs:53:1-16 (and originally defined in `GHC.List') Math/Combinat/Partitions.hs:262:3: Warning: Pattern match(es) are non-exhaustive In an equation for `decrease': Patterns not matched: [] Math/Combinat/Partitions.hs:262:13: Warning: This binding for `last' shadows the existing binding imported from `Data.List' at Math/Combinat/Partitions.hs:53:1-16 (and originally defined in `GHC.List') Math/Combinat/Partitions.hs:271:24: Warning: This binding for `c' shadows the existing binding bound at Math/Combinat/Partitions.hs:267:19 Math/Combinat/Partitions.hs:271:26: Warning: This binding for `u' shadows the existing binding bound at Math/Combinat/Partitions.hs:267:21 Math/Combinat/Partitions.hs:278:3: Warning: Pattern match(es) are non-exhaustive In an equation for `subtract_rec': Patterns not matched: [] Math/Combinat/Partitions.hs:278:16: Warning: This binding for `all' shadows the existing binding imported from `Data.List' at Math/Combinat/Partitions.hs:53:1-16 (and originally defined in `GHC.List') Math/Combinat/Partitions.hs:278:21: Warning: This binding for `last' shadows the existing binding imported from `Data.List' at Math/Combinat/Partitions.hs:53:1-16 (and originally defined in `GHC.List') Math/Combinat/Partitions.hs:283:3: Warning: This binding for `subtract' shadows the existing binding imported from `Prelude' at Math/Combinat/Partitions.hs:8:8-31 (and originally defined in `GHC.Num') [ 9 of 18] Compiling Math.Combinat.Permutations ( Math/Combinat/Permutations.hs, dist/build/Math/Combinat/Permutations.o ) Math/Combinat/Permutations.hs:350:13: Ambiguous occurrence `unsafeFreeze' It could refer to either `Data.Array.ST.unsafeFreeze', imported from `Data.Array.ST' at Math/Combinat/Permutations.hs:68:1-20 (and originally defined in `Data.Array.MArray') or `Data.Array.Unsafe.unsafeFreeze', imported from `Data.Array.Unsafe' at Math/Combinat/Permutations.hs:69:1-24 (and originally defined in `Data.Array.Base') Failed to install combinat-0.2.6.0 cabal: Error: some packages failed to install: combinat-0.2.6.0 failed during the building phase. The exception was: ExitFailure 1