Skip to content

Commit 267fb75

Browse files
authored
Remove allusions to "eigenstate". (#4529)
1 parent 022986e commit 267fb75

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/Language/faq.rakudoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ already specified in the signature.
537537
X<|Reference,Junction (FAQ)>
538538
=head2 How can I extract the values from a Junction?
539539

540-
If you want to extract the values (eigenstates) from a
540+
If you want to extract the values from a
541541
L<C<Junction>|/type/Junction>, you are probably doing something wrong and
542542
should be using a L<C<Set>|/type/Set> instead.
543543

@@ -546,13 +546,13 @@ Junctions are meant as matchers, not for doing algebra with them.
546546
If you want to do it anyway, you can abuse autothreading for that:
547547

548548
=begin code
549-
sub eigenstates(Mu $j) {
550-
my @states;
551-
-> Any $s { @states.push: $s }.($j);
552-
@states;
549+
sub junction-values(Mu $j) {
550+
my @values;
551+
-> Any $s { @values.push: $s }.($j);
552+
@values;
553553
}
554554

555-
say eigenstates(1|2|3).join(', ');
555+
say junction-values(1|2|3).join(', ');
556556
# prints 1, 2, 3 or a permutation thereof
557557
=end code
558558

0 commit comments

Comments
 (0)