@@ -195,22 +195,26 @@ Operators
195195
196196User-defined infix operators can be created by enclosing names in parentheses.
197197
198−E.g. to create a synonym for string concatenation::
198+E.g. to create an infix synonym for the ``Data.Array.range`` function::
199199
200− (<>) = \s1 s2 -> s1 ++ s2
200+ (..) :: Number -> Number -> [Number]
201+ (..) = Data.Array.range
201202
202− greeting = "Hello" <> "World!"
203+This function can be used as follows::
204+
205+ oneToTen = 1 .. 10
203206
204207Regular functions can be used as operators by enclosing their names in backticks::
205208
206− foo = \x y -> x * y + y
209+ foo x y = x * y + y
207210
208211 test = 10 `foo` 20
209212
210213Fixity declarations can associate a precedence level, which is a natural number, to a user-defined operator, and specify which way it associates::
211214
212− infixl 5 <>
213− infixr 7 %%
215+ infix 5 ..
216+ infixl 7 %%
217+ infixr 9 ^^
214218
215219Record Updates
216220--------------