Properly escape < in HTML content.
This commit is contained in:
parent
9f437d5b9f
commit
d7d99205a1
|
@ -329,8 +329,8 @@ above. I've provided the rules for numbers; the rules for strings should be quit
|
||||||
similar.<br>
|
similar.<br>
|
||||||
<br>
|
<br>
|
||||||
In Bergamot, the claim that an expression <code>e</code> has type <code>t</code>
|
In Bergamot, the claim that an expression <code>e</code> has type <code>t</code>
|
||||||
is written as <code>type(e, t)</code>. A rule looks like <code>RuleName @ conclusion <- premise1, premise2;</code>.
|
is written as <code>type(e, t)</code>. A rule looks like <code>RuleName @ conclusion <- premise1, premise2;</code>.
|
||||||
Thus, the rule <pre><code>TNumber @ type(lit(?n), number) <- num(?n);
|
Thus, the rule <pre><code>TNumber @ type(lit(?n), number) <- num(?n);
|
||||||
</code></pre>
|
</code></pre>
|
||||||
Has one premise, that the term \(n\) is a number, and the conclusion is that
|
Has one premise, that the term \(n\) is a number, and the conclusion is that
|
||||||
a number literal has type \(\text{number}\). The <code>num</code> condition
|
a number literal has type \(\text{number}\). The <code>num</code> condition
|
||||||
|
|
Loading…
Reference in New Issue
Block a user