Author: lwall Date: 2009-10-03 20:35:05 +0200 (Sat, 03 Oct 2009) New Revision: 28575
Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] add SoftRoutine and HardRoutine types to type lists Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-10-03 18:13:38 UTC (rev 28574) +++ docs/Perl6/Spec/S02-bits.pod 2009-10-03 18:35:05 UTC (rev 28575) @@ -13,8 +13,8 @@ Created: 10 Aug 2004 - Last Modified: 29 Sep 2009 - Version: 181 + Last Modified: 3 Oct 2009 + Version: 182 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -1081,6 +1081,7 @@ Blob An undifferentiated mass of bits Instant A point on the continuous atomic timeline (TAI) Duration The difference between two Instants + HardRoutine A routine that is commited to not changing Insofar as Lists are lazy, they're really only partially immutable, in the sense that the past is fixed but the future is not. The portion of @@ -1133,6 +1134,7 @@ Blob Instant Real Duration Real + HardRoutine Routine =head2 Mutable types @@ -1157,6 +1159,7 @@ Regex Perl pattern Match Perl match, usually produced by applying a pattern STASH A symbol table hash (package, module, class, lexpad, etc) + SoftRoutine A routine that is commited to staying mutable The C<KeyHash> role differs from a normal C<Associative> hash in how it handles default values. If the value of a C<KeyHash> element is set to the default @@ -1218,7 +1221,10 @@ Regex Callable Match Positional Associative STASH Associative + SoftRoutine Routine +See L<S06/"Wrapping"> for a discussion of soft vs. hard routines. + =head2 Value types Explicit types are optional. Perl variables have two associated types: