Generic classes.

2005-08-14 Thread Autrijus Tang
S06 made many explicit uses of generics as classes, which I find difficult to reconcile with the "only roles takes type parameter" ruling. For example: my Hash of Array of Recipe %book; my Hash[returns=>Array[returns=>Recipe]] %book; And later: class LoudArray is Array { ... } Clea

Re: BEGIN {...} and IO

2005-08-14 Thread Yuval Kogman
On Sat, Aug 13, 2005 at 19:08:09 +0200, Ingo Blechschmidt wrote: > BTW, is it even necessary to support user-defined serializing > behaviours? (After all, an Item can only be an Int, Num, Str, Ref, Bit, > Pair, Junc, Type, Code, Undef, and Object in PIL2 [1].) Yes, because data types may implici