@@ -15,6 +15,76 @@ But this is not::
1515
1616 foo = bar(x) +
1717 baz(x)
18+ data UnaryOperator
19+
20+Operators
21+---------
22+
23+PureScript supports the following unary operators (in precedence order):
24+
25+==========================
26+ Meaning
27+==========================
28+- Numeric negation
29+! Boolean negation
30+~ Binary negation
31++ Unary plus (numeric)
32+==========================
33+
34+and the following binary operators (in precedence order):
35+
36+==========================
37+ Meaning
38+==========================
39++ Numeric addition
40+- Numeric subtraction
41+* Numeric multiplication
42+/ Numeric division
43+% Numeric modulus
44+== Equality check
45+!= Inequality check
46+< Less than
47+<= Less than or equal
48+> Greater than
49+>= Greater than or equal
50+&& Boolean AND
51+|| Boolean OR
52+& Binary AND
53+| Binary OR
54+^ Binary XOR
55+<< Shift Left
56+>> Shift Right
57+>>> Zero-Fill Shift Right
58+++ String concatenation
59+==========================
60+
61+Literal Values
62+--------------
63+
64+Numeric literals can be integers or floating point numbers. Numbers in hexadecimal notation should be preceded by the characters `0x`::
65+
66+ 16
67+ 16.0
68+ 0xF0
69+
70+String literals are enclosed in double-quotes and may extend over multiple lines. Line breaks should be surrounded by slashes as follows::
71+
72+ "Hello World"
73+
74+ "Hello \
75+ \World"
76+
77+The two boolean literals are `true` and `false`.
78+
79+Array literals are surrounded by square brackets, as in Javascript::
80+
81+ []
82+ [1, 2, 3]
83+
84+Object literals are surrounded by braces, as in Javascript::
85+
86+ {}
87+ { foo: "Foo", bar: 1 }
1888
1989If-Then-Else Expressions
2090------------------------