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

Re: Sun Fortress and Perl 6

Thread Previous | Thread Next
Autrijus Tang
April 30, 2005 03:35
Re: Sun Fortress and Perl 6
Message ID:
On Sat, Apr 30, 2005 at 08:41:52AM +0200, Leopold Toetsch wrote:
> Anyway Parrots MMD system depends on types. *If* the Perl6 compiler defines
> above array as
>   cl = subclass "FixedFloatArray", "num_Array_shape_3_3_3"

Yes, that is what I am planning to emit for hierarchical and other
subtyped signatures.  We also need to generate those for the
user-defined "subtype" things in Perl 6.

> then this kind of array would be a distinct type. The other possiblity
> is: we have one Multi_shaped_FloatArray, which takes an initializer with
> the dimensions (see e.g. classes/multiarray.pmc) then all these shaped
> num arrays would be one type, dispatching to the same routines.

Hm, I have no clue whether we can MMD based on shape of arrays.
Anyone has ideas about that?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About