@@ -50,7 +50,7 @@ toReport dealiaser err =
5050 TypeWithoutDefinition valueName ->
5151 Report.simple
5252 "MISSING DEFINITION"
53− ("There is a type annotation for '" ++ valueName ++ "' but there"
53+ ("There is a type annotation for `" ++ valueName ++ "` but there"
5454 ++ "is no corresponding definition!"
5555 )
5656 ("Directly below the type annotation, put a definition like:\n\n"
@@ -60,7 +60,7 @@ toReport dealiaser err =
6060 PortWithoutAnnotation portName ->
6161 Report.simple
6262 "PORT ERROR"
63− ("Port '" ++ portName ++ "' does not have a type annotation!")
63+ ("Port `" ++ portName ++ "` does not have a type annotation!")
6464 ("Directly above the port definition, I need something like this:\n\n"
6565 ++ " port " ++ portName ++ " : Signal Int"
6666 )
@@ -78,30 +78,30 @@ toReport dealiaser err =
7878 DuplicateValueDeclaration name ->
7979 Report.simple
8080 "DUPLICATE DEFINITION"
81− ("Naming multiple top-level values '" ++ name ++ "' makes things\n"
82− ++ "ambiguous. When you say '" ++ name ++ "' which one do you want?"
81+ ("Naming multiple top-level values `" ++ name ++ "` makes things\n"
82+ ++ "ambiguous. When you say `" ++ name ++ "` which one do you want?"
8383 )
84− ("Find all the top-level values named '" ++ name ++ "' and\n"
84+ ("Find all the top-level values named `" ++ name ++ "` and\n"
8585 ++ "do some renaming. Make sure the names are distinct!"
8686 )
8787
8888 DuplicateTypeDeclaration name ->
8989 Report.simple
9090 "DUPLICATE DEFINITION"
91− ("Naming multiple types '" ++ name ++ "' makes things ambiguous\n"
92− ++ "When you say '" ++ name ++ "' which one do you want?"
91+ ("Naming multiple types `" ++ name ++ "` makes things ambiguous\n"
92+ ++ "When you say `" ++ name ++ "` which one do you want?"
9393 )
94− ("Find all the types named '" ++ name ++ "' and\n"
94+ ("Find all the types named `" ++ name ++ "` and\n"
9595 ++ "do some renaming. Make sure the names are distinct!"
9696 )
9797
9898 DuplicateDefinition name ->
9999 Report.simple
100100 "DUPLICATE DEFINITION"
101− ("Naming multiple values '" ++ name ++ "' in a single let-expression makes\n"
102− ++ "things ambiguous. When you say '" ++ name ++ "' which one do you want?"
101+ ("Naming multiple values `" ++ name ++ "` in a single let-expression makes\n"
102+ ++ "things ambiguous. When you say `" ++ name ++ "` which one do you want?"
103103 )
104− ("Find all the values named '" ++ name ++ "' in this let-expression and\n"
104+ ("Find all the values named `" ++ name ++ "` in this let-expression and\n"
105105 ++ "do some renaming. Make sure the names are distinct!"
106106 )
107107
@@ -135,13 +135,13 @@ unboundTypeVars :: String -> String -> [String] -> String -> Report.Report
135135unboundTypeVars typeName tvar tvars revisedDeclaration =
136136 Report.simple
137137 "UNBOUND TYPE VARS"
138− ( "Not all type variables in '" ++ typeName ++ "' are listed, making sneaky\n"
138+ ( "Not all type variables in `" ++ typeName ++ "` are listed, making sneaky\n"
139139 ++ "type errors possible. Unbound type variables include: "
140140 ++ List.intercalate ", " (tvar:tvars)
141141 )
142142 ( "You probably want this definition instead:\n"
143143 ++ concatMap ("\n "++) (lines revisedDeclaration) ++ "\n\n"
144− ++ "Here's why. Imagine one '" ++ typeName ++ "' where '" ++ tvar ++ "' is an Int and\n"
144+ ++ "Here's why. Imagine one `" ++ typeName ++ "` where `" ++ tvar ++ "` is an Int and\n"
145145 ++ "another where it is a Bool. When we explicitly list the type variables, type\n"
146146 ++ "checker can see that they are actually different types."
147147 )
@@ -202,7 +202,7 @@ parseErrorReport messages =
202202 [msg] ->
203203 case unkeyword msg of
204204 Just kwd ->
205− "It looks like the keyword '" ++ kwd ++ "' is being used as a variable.\n"
205+ "It looks like the keyword `" ++ kwd ++ "` is being used as a variable.\n"
206206 ++ "Try renaming it to something else."
207207 Nothing ->
208208 msg