3 Inferred type is less polymorphic than expected
4 Quantified type variable `s' escapes
5 It unifies with `_115', which is mentioned in the environment
6 The following variables in the environment mention `_115'
7 In an expression with expected type: forall
10 In the first argument of `runST', namely `(newArray ((1, 1), n) x)'
11 In the right-hand side of an equation for `itgen':
12 runST (newArray ((1, 1), n) x)
15 Inferred type is less polymorphic than expected
16 Quantified type variable `s' escapes
17 It unifies with `_115', which is mentioned in the environment
18 The following variables in the environment mention `_115'
20 In an expression with expected type: forall
23 In the first argument of `runST', namely
25 >>= (\ val -> (writeArray arr i (f val)) >> (return arr)))'
26 In the right-hand side of an equation for `itiap':
27 runST ((readArray arr i)
28 >>= (\ val -> (writeArray arr i (f val)) >> (return arr)))
31 Inferred type is less polymorphic than expected
32 Quantified type variable `s' escapes
33 It unifies with `_115', which is mentioned in the environment
34 The following variables in the environment mention `_115'
36 itrap' :: Int -> Int -> PrelST.ST _115 (IndTree _115 a)
37 itrapsnd :: Int -> Int -> PrelST.ST _115 (IndTree _115 a)
38 In an expression with expected type: forall
41 In the first argument of `runST', namely `(itrap' i k)'
42 In the right-hand side of an equation for `itrap':
46 Inferred type is less polymorphic than expected
47 Quantified type variable `s' escapes
48 It unifies with `_115', which is mentioned in the environment
49 The following variables in the environment mention `_115'
54 -> PrelST.ST _115 (c, IndTree _115 b)
58 -> PrelST.ST _115 (c, IndTree _115 b)
59 In an expression with expected type: forall
62 In the first argument of `runST', namely `(itrapstate' i k s)'
63 In the right-hand side of an equation for `itrapstate':
64 runST (itrapstate' i k s)
67 Compilation had errors