develooper Front page | perl.perl6.language | Postings from February 2005

Standard value types in S06.

Autrijus Tang
February 4, 2005 03:33
Standard value types in S06.
Message ID:
"Pair", "Junction" and "Undef" are not list among Perl6's standard
types in S06.  I'm assuming that they are actually basic types for now;
if that is the case, below is a patch to say that.


--- S06.pod.orig	Fri Feb  4 04:29:34 2005
+++ S06.pod	Fri Feb  4 19:32:53 2005
@@ -626,6 +626,7 @@
     num         native floating point
     ref         native pointer 
     bool        native boolean
+    Undef       Undefined value
     Bit         Perl single bit (allows traits, aliasing, etc.)
     Int         Perl integer (allows traits, aliasing, etc.)
     Str         Perl string (Unicode semantics)
@@ -650,6 +651,8 @@
     Class       Perl 6 standard class namespace
     Object      Perl 6 object
     Grammar     Perl 6 pattern matching namespace
+    Pair        Perl pair
+    Junction    Perl junction
     List        Perl list
     Lazy        Lazily evaluated Perl list
     Eager       Non-lazily evaluated Perl list Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About