Author: masak Date: 2010-08-10 13:50:30 +0200 (Tue, 10 Aug 2010) New Revision: 31938
Modified: docs/Perl6/Spec/S32-setting-library/Str.pod Log: [S32/Str] nicer where clause for &pack Reads better and is more amenable to compiler optimization. Suggested by TheDamian++. Modified: docs/Perl6/Spec/S32-setting-library/Str.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Str.pod 2010-08-10 09:47:45 UTC (rev 31937) +++ docs/Perl6/Spec/S32-setting-library/Str.pod 2010-08-10 11:50:30 UTC (rev 31938) @@ -269,7 +269,7 @@ =item pack - our buf8 multi pack( *...@items where { [&&] @items »~~» Pair }) + our buf8 multi pack( *...@items where { all(@items) ~~ Pair } ) our buf8 multi pack( Str $template, *...@items ) C<pack> takes a list of pairs and formats the values according to