diff --git a/doc/Language/contexts.pod6 b/doc/Language/contexts.pod6 index 6209bd8c1..aa41023fc 100644 --- a/doc/Language/contexts.pod6 +++ b/doc/Language/contexts.pod6 @@ -173,14 +173,14 @@ contextualizer, with the result shown above. This context will force a variable to be interpreted as C or C. say "Hey" if 7; # OUTPUT: «Hey␤» - say "Ahoi" if ""; + say "Ahoy" if ""; This context appears in expressions such as C or C, and is equivalent to calling C on these values. =for code say "Hey" if 7.so; # OUTPUT: «Hey␤» -say "Ahoi" if not set().so; # OUTPUT: «Ahoi␤» +say "Ahoy" if not set().so; # OUTPUT: «Ahoy␤» In general, non-zero, non-empty will be converted to C; zero or empty will be equivalent to False. But C<.so> can be defined to return any Boolean