Last active
August 29, 2015 14:25
-
-
Save yassu/7f8ffcb3bf54e751d8dd to your computer and use it in GitHub Desktop.
long long tuple. This occurs error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| main = print t | |
| -- OutPuts: | |
| -- nums.hs:2:6: | |
| -- No instance for (Num t0) arising from the literal `1' | |
| -- The type variable `t0' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 1 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:9: | |
| -- No instance for (Num t1) arising from the literal `2' | |
| -- The type variable `t1' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 2 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:12: | |
| -- No instance for (Num t2) arising from the literal `3' | |
| -- The type variable `t2' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 3 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:15: | |
| -- No instance for (Num t3) arising from the literal `4' | |
| -- The type variable `t3' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 4 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:18: | |
| -- No instance for (Num t4) arising from the literal `5' | |
| -- The type variable `t4' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 5 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:21: | |
| -- No instance for (Num t5) arising from the literal `6' | |
| -- The type variable `t5' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 6 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:24: | |
| -- No instance for (Num t6) arising from the literal `7' | |
| -- The type variable `t6' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 7 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:27: | |
| -- No instance for (Num t7) arising from the literal `8' | |
| -- The type variable `t7' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 8 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:30: | |
| -- No instance for (Num t8) arising from the literal `9' | |
| -- The type variable `t8' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 9 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:33: | |
| -- No instance for (Num t9) arising from the literal `10' | |
| -- The type variable `t9' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 10 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:37: | |
| -- No instance for (Num t10) arising from the literal `11' | |
| -- The type variable `t10' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 11 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:41: | |
| -- No instance for (Num t11) arising from the literal `12' | |
| -- The type variable `t11' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 12 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:45: | |
| -- No instance for (Num t12) arising from the literal `13' | |
| -- The type variable `t12' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 13 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:49: | |
| -- No instance for (Num t13) arising from the literal `14' | |
| -- The type variable `t13' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 14 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:53: | |
| -- No instance for (Num t14) arising from the literal `15' | |
| -- The type variable `t14' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 15 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:57: | |
| -- No instance for (Num t15) arising from the literal `16' | |
| -- The type variable `t15' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 16 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:61: | |
| -- No instance for (Num t16) arising from the literal `17' | |
| -- The type variable `t16' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 17 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:65: | |
| -- No instance for (Num t17) arising from the literal `18' | |
| -- The type variable `t17' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 18 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:69: | |
| -- No instance for (Num t18) arising from the literal `19' | |
| -- The type variable `t18' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 19 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:73: | |
| -- No instance for (Num t19) arising from the literal `20' | |
| -- The type variable `t19' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 20 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:77: | |
| -- No instance for (Num t20) arising from the literal `21' | |
| -- The type variable `t20' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 21 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:81: | |
| -- No instance for (Num t21) arising from the literal `22' | |
| -- The type variable `t21' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 22 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:85: | |
| -- No instance for (Num t22) arising from the literal `23' | |
| -- The type variable `t22' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 23 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:89: | |
| -- No instance for (Num t23) arising from the literal `24' | |
| -- The type variable `t23' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 24 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:93: | |
| -- No instance for (Num t24) arising from the literal `25' | |
| -- The type variable `t24' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 25 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:97: | |
| -- No instance for (Num t25) arising from the literal `26' | |
| -- The type variable `t25' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 26 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:101: | |
| -- No instance for (Num t26) arising from the literal `27' | |
| -- The type variable `t26' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 27 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:105: | |
| -- No instance for (Num t27) arising from the literal `28' | |
| -- The type variable `t27' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 28 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:109: | |
| -- No instance for (Num t28) arising from the literal `29' | |
| -- The type variable `t28' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 29 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:113: | |
| -- No instance for (Num t29) arising from the literal `30' | |
| -- The type variable `t29' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 30 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:117: | |
| -- No instance for (Num t30) arising from the literal `31' | |
| -- The type variable `t30' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 31 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:121: | |
| -- No instance for (Num t31) arising from the literal `32' | |
| -- The type variable `t31' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 32 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:125: | |
| -- No instance for (Num t32) arising from the literal `33' | |
| -- The type variable `t32' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 33 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:129: | |
| -- No instance for (Num t33) arising from the literal `34' | |
| -- The type variable `t33' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 34 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:133: | |
| -- No instance for (Num t34) arising from the literal `35' | |
| -- The type variable `t34' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 35 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:137: | |
| -- No instance for (Num t35) arising from the literal `36' | |
| -- The type variable `t35' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 36 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:141: | |
| -- No instance for (Num t36) arising from the literal `37' | |
| -- The type variable `t36' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 37 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:145: | |
| -- No instance for (Num t37) arising from the literal `38' | |
| -- The type variable `t37' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 38 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:149: | |
| -- No instance for (Num t38) arising from the literal `39' | |
| -- The type variable `t38' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 39 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:153: | |
| -- No instance for (Num t39) arising from the literal `40' | |
| -- The type variable `t39' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 40 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:157: | |
| -- No instance for (Num t40) arising from the literal `41' | |
| -- The type variable `t40' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 41 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:161: | |
| -- No instance for (Num t41) arising from the literal `42' | |
| -- The type variable `t41' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 42 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:165: | |
| -- No instance for (Num t42) arising from the literal `43' | |
| -- The type variable `t42' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 43 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:169: | |
| -- No instance for (Num t43) arising from the literal `44' | |
| -- The type variable `t43' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 44 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:173: | |
| -- No instance for (Num t44) arising from the literal `45' | |
| -- The type variable `t44' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 45 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:177: | |
| -- No instance for (Num t45) arising from the literal `46' | |
| -- The type variable `t45' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 46 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:181: | |
| -- No instance for (Num t46) arising from the literal `47' | |
| -- The type variable `t46' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 47 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:185: | |
| -- No instance for (Num t47) arising from the literal `48' | |
| -- The type variable `t47' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 48 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:189: | |
| -- No instance for (Num t48) arising from the literal `49' | |
| -- The type variable `t48' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 49 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:2:193: | |
| -- No instance for (Num t49) arising from the literal `50' | |
| -- The type variable `t49' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49) | |
| -- (bound at nums.hs:2:1) | |
| -- Probable fix: give these definition(s) an explicit type signature | |
| -- or use -XNoMonomorphismRestriction | |
| -- Note: there are several potential instances: | |
| -- instance Num Double -- Defined in `GHC.Float' | |
| -- instance Num Float -- Defined in `GHC.Float' | |
| -- instance Integral a => Num (GHC.Real.Ratio a) | |
| -- -- Defined in `GHC.Real' | |
| -- ...plus three others | |
| -- In the expression: 50 | |
| -- In the expression: | |
| -- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, | |
| -- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, | |
| -- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- In an equation for `t': | |
| -- t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, | |
| -- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, | |
| -- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| -- | |
| -- nums.hs:4:8: | |
| -- No instance for (Show | |
| -- (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49)) | |
| -- arising from a use of `print' | |
| -- Possible fix: | |
| -- add an instance declaration for | |
| -- (Show | |
| -- (t0, | |
| -- t1, | |
| -- t2, | |
| -- t3, | |
| -- t4, | |
| -- t5, | |
| -- t6, | |
| -- t7, | |
| -- t8, | |
| -- t9, | |
| -- t10, | |
| -- t11, | |
| -- t12, | |
| -- t13, | |
| -- t14, | |
| -- t15, | |
| -- t16, | |
| -- t17, | |
| -- t18, | |
| -- t19, | |
| -- t20, | |
| -- t21, | |
| -- t22, | |
| -- t23, | |
| -- t24, | |
| -- t25, | |
| -- t26, | |
| -- t27, | |
| -- t28, | |
| -- t29, | |
| -- t30, | |
| -- t31, | |
| -- t32, | |
| -- t33, | |
| -- t34, | |
| -- t35, | |
| -- t36, | |
| -- t37, | |
| -- t38, | |
| -- t39, | |
| -- t40, | |
| -- t41, | |
| -- t42, | |
| -- t43, | |
| -- t44, | |
| -- t45, | |
| -- t46, | |
| -- t47, | |
| -- t48, | |
| -- t49)) | |
| -- In the expression: print t | |
| -- In an equation for `main': main = print t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment