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

Re: Sun Fortress and Perl 6

Thread Previous | Thread Next
From:
Autrijus Tang
Date:
April 30, 2005 03:35
Subject:
Re: Sun Fortress and Perl 6
Message ID:
20050430103541.GA75065@aut.dyndns.org
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?

Thanks,
/Autrijus/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About