Commit 4d49c9fd authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Accept output (following error message changes)

parent 29ebce2c
mod41.hs:3:0:
Illegal instance declaration for `Eq (Either a a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Eq (Either a a)'
mod42.hs:3:0:
Illegal instance declaration for `Eq a'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Eq a'
mod43.hs:3:0:
Illegal instance declaration for `Eq String'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Eq String'
rn049.hs:10:5:
Warning: accepting non-standard pattern guards (-fglasgow-exts to suppress this message)
Warning: accepting non-standard pattern guards (use -XPatternGuards to suppress this message)
x <- (1 * 2) + (3 * 4)
tcfail044.hs:5:0:
Illegal instance declaration for `Eq (a -> a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Eq (a -> a)'
tcfail044.hs:8:0:
Illegal instance declaration for `Num (a -> a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Num (a -> a)'
tcfail047.hs:6:0:
Illegal instance declaration for `A (a, (b, c))'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `A (a, (b, c))'
tcfail139.hs:6:0:
Illegal instance declaration for `Bounded Foo'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Bounded Foo'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment