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 { ... } Clearly, here Hash and Array are used as instantiable, generic classes, instead of mere roles. Does this need to change, or can we lift the ban on type-parameterized classes? Thanks, /Autrijus/
pgp13rCkji3S3.pgp
Description: PGP signature