Skip to content

Commit 2b895ef

Browse files
committed
Types under multiplication are a monoid.
1 parent 184faff commit 2b895ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-typed-om/Overview.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,9 @@ For the purposes of [=matching=],
11611161
these cases should be treated as <<length-percentage>>.
11621162
Similarly for <<angle-percentage>>, etc.
11631163

1164-
Note: [=Types=] form a semi-group under both addition and multiplication,
1164+
Note: [=Types=] form a semi-group under both addition
1165+
and a monoid under multiplication
1166+
(with the multiplicative identity being «[ ]» with a null [=percent hint=]),
11651167
meaning that they're associative and commutative.
11661168
Thus the spec can, for example,
11671169
[=add=] an unbounded number of types together unambiguously,

0 commit comments

Comments
 (0)