develooper Front page | perl.perl6.language | Postings from March 2010

Re: numerics, roles, and naming

Thread Previous | Thread Next
From:
Darren Duncan
Date:
March 14, 2010 20:12
Subject:
Re: numerics, roles, and naming
Message ID:
4B9DA585.1050901@darrenduncan.net
Jon Lang wrote:
> Remember also: we're putting together the Perl 6 core here; we need to
> show some discretion in terms of what to include vs. what gets "farmed
> out" to perl 6 modules.  I suspect that gaussian integers belong
> firmly in the latter camp; as such, they are germane to discussions
> about core features only to the extent that the core needs to
> anticipate such things.

I agree, in general.

Presumably, the core doesn't have to have any roles built-in that aren't already 
composed into at least 2 core classes or roles, to keep things simpler.

I would expect that a third-party module should be able to effectively define a 
role that would conceptually cover both a core type as well as types of their 
own, which they can then use, even though the definition of the core type 
doesn't compose that role itself.

So then they get the same functionality, and the core stays simpler.

-- Darren Duncan

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