Changeset 19478 for docs/Perl6/Spec

Show
Ignore:
Timestamp:
01/14/08 21:07:19 (10 months ago)
Author:
lwall
Message:

Some updates to reflect distinctions between lexical graphemes/codepoints/bytes scopes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/Perl6/Spec/Functions.pod

    r19424 r19478  
    1313                Mark Stosberg <mark@summersault.com> 
    1414 Date:          12 Mar 2005 
    15  Last Modified: 10 Jan 2008 
    16  Version:       16 
     15 Last Modified: 14 Jan 2008 
     16 Version:       17 
    1717 
    1818This document attempts to document the list of builtin functions in Perl 6. 
     
    11131113until there is no further work to be done. 
    11141114 
     1115Note that this function is really only applicable when dealing with codepoint 
     1116strings.  Grapheme strings are normally processed at a higher abstraction level 
     1117that is independent of normalization, and are lazily normalized into the 
     1118desired normalization when transferred to lexical scopes or handles that care. 
     1119 
    11151120=item samecase 
    11161121 
     
    11541159=item codes 
    11551160 
    1156  our Int multi method codes ( Str $string: $nf = "C") is export 
     1161 our Int multi method codes ( Str $string: $nf = $?NF) is export 
    11571162 
    11581163Returns the number of codepoints in the string if it were canonicalized the 
     
    11621167=item bytes 
    11631168 
    1164  our Int multi method bytes ( Str $string: $nf = "C", $enc = "UTF-8") is export 
     1169 our Int multi method bytes ( Str $string: $nf = $?NF, $enc = $?ENC) is export 
    11651170 
    11661171Returns the number of bytes in the string if it were encoded in the