Skip to content

Commit a0f6515

Browse files
authored
Include URL to what halting problem is
For those who never heard of it.
1 parent c102f85 commit a0f6515

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/Type/Any.pod6

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,11 @@ will try to descend into the element if that element implements C<Iterable>.
170170
171171
=head2 method flat
172172
173-
Interprets the invocant as a list, flattens it, and returns that list. Please
174-
note that C<.flat> will not solve the halting problem for you. If you flat
175-
an infinite list C<.flat> may return that infinite list, eating all your RAM
176-
in the process.
173+
Interprets the invocant as a list, flattens it, and returns that list.
174+
Please note that C<.flat> will not solve the
175+
L<halting problem|https://en.wikipedia.org/wiki/Halting_problem> for you.
176+
If you flat an infinite list C<.flat> may return that infinite list, eating
177+
all your RAM in the process.
177178
178179
say ((1, 2), (3)).elems; # 2
179180
say ((1, 2), (3)).flat.elems; # 3

0 commit comments

Comments
 (0)