Skip to content

Commit

Permalink
Define difference for sets
Browse files Browse the repository at this point in the history
Fixes #632.
  • Loading branch information
OrKoN authored Dec 11, 2024
1 parent 2e8f05a commit 7351436
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,10 @@ of creating a new <a>ordered set</a> |set| and, <a for=list>for each</a> |item|
<a for=list>cloning</a> |A| as |set| and, <a for=list>for each</a> |item| of |B|,
<a for=set>appending</a> |item| to |set|.

<p>The <dfn export for=set>difference</dfn> of <a>ordered sets</a> |A| and |B|, is the result
of creating a new <a>ordered set</a> |set| and, <a for=list>for each</a> |item| of |A|, if |B|
[=set/contains|does not contain=] |item|, <a for=set>appending</a> |item| to |set|.

<hr>

<p><dfn export lt="the range|the inclusive range">The range</dfn> <var>n</var> to <var>m</var>,
Expand Down

0 comments on commit 7351436

Please sign in to comment.