From 779310a53d07fca0f7e8fccfe046698f674a5f16 Mon Sep 17 00:00:00 2001 From: "Will \"Coke\" Coleda" Date: Mon, 4 Jun 2018 13:38:10 -0400 Subject: [PATCH] fix pod error --- doc/Language/functions.pod6 | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Language/functions.pod6 b/doc/Language/functions.pod6 index 5abd72b6a..79313c5a0 100644 --- a/doc/Language/functions.pod6 +++ b/doc/Language/functions.pod6 @@ -1034,6 +1034,7 @@ sub are-equal (Int $x, Int $y --> Bool(Int) ) { $x - $y }; for (2,4) X (1,2) -> ($a,$b) { say "Are $a and $b equal? ", are-equal($a, $b); } # OUTPUT: «Are 2 and 1 equal? True␤Are 2 and 2 equal? False␤Are 4 and 1 equal? True␤Are 4 and 2 equal? True␤» +=end code In this case, we are coercing an C to a C, which is then printed (put into a string context) in the C loop that calls the function.