Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: make set creation more readable #837

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1896,13 +1896,13 @@ Issue: This needs to be generalized to work with realms too.
<div algorithm="remote end steps for session.subscribe">
The [=remote end steps=] with |session| and |command parameters| are:

1. Let the |event names| be [=set/create=] a [=/set=] given |command parameters|["<code>events</code>"].
1. Let the |event names| be [=set/create|create a set=] with |command parameters|["<code>events</code>"].

1. Let |subscription navigables| be a [=/set=].

1. Let |top-level traversable context ids| be a [=/set=].

1. Let |input context ids| be [=set/create=] a [=/set=] given |command parameters|[<code>contexts</code>].
1. Let |input context ids| be [=set/create|create a set=] with |command parameters|[<code>contexts</code>].

1. If |input context ids| is not empty:

Expand Down Expand Up @@ -2001,7 +2001,7 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. Let |top-level traversable context ids| be a [=/set=].

1. Let |input context ids| be [=set/create=] a [=/set=] given |command parameters|[<code>contexts</code>].
1. Let |input context ids| be [=set/create|create a set=] with |command parameters|[<code>contexts</code>].

1. If |input context ids| is not empty:

Expand Down Expand Up @@ -2076,7 +2076,7 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. Otherwise:

1. Let |subscriptions| be [=set/create=] a [=/set=] with |command parameters|[<code>subscriptions</code>].
1. Let |subscriptions| be [=set/create|create a set=] with |command parameters|[<code>subscriptions</code>].

1. Let |unknown subscription ids| to [=set/difference=] between |subscriptions| and |session|'s [=known subscription ids=].

Expand Down