File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ values become the associated numeric weights:
62
62
63
63
= head1 Operators
64
64
65
- C < Mix > es can use all kind of set operators returning either C < Bool > or other C < Mix > es:
65
+ C < Mix > es can use all kind of set operators returning either C < Bool > or
66
+ other C < Mix > es:
66
67
67
68
= begin code
68
69
my $this-mix = (sugar => ⅓, spice => ¼, all-things-nice => ¾);
@@ -74,7 +75,7 @@ say $that-mix (+) $this-mix; # OUTPUT: «Bag(spice(2), sugar)»
74
75
= end code
75
76
76
77
With their equivalent Unicode operators:
77
- = begin code :preamble<my ($this-mix, $that-mix);
78
+ = begin code :preamble<my ($this-mix, $that-mix);>
78
79
say $that-mix ⊂ $this-mix; # OUTPUT: «True»
79
80
say $that-mix ⊖ $this-mix; # OUTPUT: «set(all-things-nice)»
80
81
say $that-mix ⊎ $this-mix; # OUTPUT: «Bag(spice(2), sugar)»
You can’t perform that action at this time.
0 commit comments