You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prettyPrintErrorMessage (CannotApplyFunction fn arg) ="Cannot apply function of type "++ prettyPrintType fn ++" to argument "++ prettyPrintValue arg
181
+
prettyPrintErrorMessage TypeSynonymInstance="Type synonym instances are disallowed"
182
+
prettyPrintErrorMessage InvalidNewtype="Newtypes must define a single constructor with a single argument"
183
+
prettyPrintErrorMessage (InvalidInstanceHead ty) ="Invalid type "++ prettyPrintType ty ++" in class instance head"
184
+
prettyPrintErrorMessage (TransitiveExportError x ys) ="An export for "++ prettyPrintExport x ++" requires the following to also be exported: "++ intercalate ", " (map prettyPrintExport ys)
164
185
prettyPrintErrorMessage (ErrorUnifyingTypes t1 t2 err) ="Error unifying type "++ prettyPrintType t1 ++" with type "++ prettyPrintType t2 ++":\n"++ prettyPrintErrorMessage err
@@ -170,6 +191,13 @@ prettyPrintErrorMessage (ErrorCheckingKind ty err) = "Error checking kind o
170
191
prettyPrintErrorMessage (ErrorInferringType expr err) ="Error inferring type of value "++ prettyPrintValue expr ++":\n"++ prettyPrintErrorMessage err
171
192
prettyPrintErrorMessage (ErrorCheckingType expr ty err) ="Error checking value "++ prettyPrintValue expr ++" has type "++ prettyPrintType ty ++":\n"++ prettyPrintErrorMessage err
172
193
prettyPrintErrorMessage (ErrorInApplication f t a err) ="Error applying function "++ prettyPrintValue f ++" of type "++ prettyPrintType t ++" to argument "++ prettyPrintValue a ++":\n"++ prettyPrintErrorMessage err
194
+
prettyPrintErrorMessage (ErrorInDataConstructor nm err) ="Error in data constructor "++show nm ++":\n"++ prettyPrintErrorMessage err
195
+
prettyPrintErrorMessage (ErrorInTypeConstructor nm err) ="Error in type constructor "++show nm ++":\n"++ prettyPrintErrorMessage err
196
+
prettyPrintErrorMessage (ErrorInBindingGroup nms err) ="Error in binding group "++ intercalate ", " (mapshow nms) ++":\n"++ prettyPrintErrorMessage err
197
+
prettyPrintErrorMessage (ErrorInDataBindingGroup err) ="Error in data binding group:\n"++ prettyPrintErrorMessage err
198
+
prettyPrintErrorMessage (ErrorInTypeSynonym name err) ="Error in type synonym "++show name ++":\n"++ prettyPrintErrorMessage err
199
+
prettyPrintErrorMessage (ErrorInValueDeclaration n err) ="Error in value declaration "++show n ++":\n"++ prettyPrintErrorMessage err
0 commit comments