slight language change

This commit is contained in:
tyow
2026-02-13 14:36:22 -05:00
parent d7067f3562
commit 7cb8a151a4
+5 -3
View File
@@ -1059,7 +1059,8 @@ const COMPOSERS = {
/**
* When called on a pattern `a`, with a input pattern `b` (`a.set(b)`),
* combines `a` and `b` such that anything defined in `b`
* overwrites the corresponding value in `a`
* and anything defined in `a` that is *not* defined in `b`
* will be in the resulting pattern
*
* This is the inverse of `keep`
*
@@ -1091,8 +1092,9 @@ const COMPOSERS = {
set: [(a, b) => b],
/**
* When called on a pattern `a`, with a input pattern `b` (`a.keep(b)`),
* combines `a` and `b` such that anything defined in `a`
* overwrites the corresponding value in `b`
* combines `a` and `b` such that anything defined in `a`,
* and anything defined in `b` that is *not* defined in `a`
* will be in the resulting pattern
*
* This is the inverse of `set`
*