on master help sign in
Do not claim it is an anonymous function
70f3f60Evan Czaplicki
src/Reporting/Error/Type.hs+3−3
@@ -467,9 +467,9 @@ mismatchToReport localizer (MismatchInfo hint leftType rightType maybeReason) =
467 Lambda ->
467 Lambda ->
468 report
468 report
469 Nothing
469 Nothing
470− "This anonymous function is being used in an unexpected way."
470+ "This function is being used in an unexpected way."
471 ( cmpHint
471 ( cmpHint
472− "The anonymous function has type:"
472+ "The function has type:"
473 "But you are trying to use it as:"
473 "But you are trying to use it as:"
474 []
474 []
475 )
475 )
@@ -1052,7 +1052,7 @@ infiniteHint hint =
1052 ( Nothing, "this shader" )
1052 ( Nothing, "this shader" )
1053
1053
1054 Lambda ->
1054 Lambda ->
1055− ( Nothing, "this anonymous function" )
1055+ ( Nothing, "this function" )
1056
1056
1057 Access _ _ ->
1057 Access _ _ ->
1058 ( Nothing, "this field access" )
1058 ( Nothing, "this field access" )