Skip to content

Commit 865fd0b

Browse files
committed
update syntax reference content
1 parent 1594aab commit 865fd0b

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

v0.3/syntaxreference.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: default
33
title: Syntax Reference
44
---
55

6-
<link rel="stylesheet" type="text/css" href="{{ site.url}}/css/style.css">
6+
# Syntax Reference
77

88
## Records and Patterns
99

@@ -55,9 +55,7 @@ bind
5555
</tr>
5656
</table>
5757

58-
<h2>
59-
Program Structure: Search, Bind, and Commit
60-
</h2>
58+
## Program Structure: Search, Bind, and Commit
6159

6260
<table>
6361

@@ -103,9 +101,7 @@ commit
103101
104102
</table>
105103
106-
<h2>
107-
Equivalence and Filtering
108-
</h2>
104+
## Equivalence and Filtering
109105
110106
<table>
111107
@@ -140,7 +136,6 @@ cube.depth > 30 // Filter with dot notation.</code></td>
140136
141137
</table>
142138
143-
144139
## Not
145140
146141
<table>
@@ -156,9 +151,9 @@ not(person = [#employee])</code></td>
156151
157152
## If...Then and If...Else
158153
159-
<table>
154+
<p><code>If</code> lets your block try multiple branches for a variable. If every branch has no matches, the block fails.</p>
160155
161-
<tr><td><em><code>If</code> lets your block try multiple branches for a variable. If every branch has no matches, the block fails.</em></td></tr>
156+
<table>
162157
163158
<tr>
164159
<td><code>If … else</code> lets you express ordered choice. <strong>Only the first branch</strong> with matches will contribute values to the variable.</td>
@@ -211,9 +206,9 @@ budgets = gather/sum[value: employee.salary,
211206
212207
## Update Operators
213208
214-
<table>
209+
<p>Besides creating new records, Eve has four operators to modify existing records in <code>bind</code> or <code>commit</code>.</p>
215210
216-
<tr><td><em>Besides creating new records, Eve has four operators to modify existing records in <code>bind</code> or <code>commit</code>.</em></td></tr>
211+
<table>
217212
218213
<tr>
219214
<td>(<code>+=</code>) Add value to attribute.</td>
@@ -253,3 +248,4 @@ chris := none</code></td>
253248
</tr>
254249
255250
</table>
251+

0 commit comments

Comments
 (0)