Skip to content

Commit 90ba281

Browse files
committed
Update UniqueSampling game
1 parent 2554d80 commit 90ba281

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

manual/language-reference/games.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ Game Replacement(Set S) {
235235
236236
Game NoReplacement(Set S) {
237237
S Samp(Set<S> bookkeeping) {
238+
// <-uniq[bookkeeping] implicitly adds val to bookkeeping, so
239+
// repeated calls accumulate all prior outputs automatically.
238240
S val <-uniq[bookkeeping] S;
239241
return val;
240242
}

0 commit comments

Comments
 (0)