HaloO Larry,

you wrote:
: class Str[ ::T does StringNumification ]
: {...}

And then, based only on what you've written there, we need to teach
people all about classes, parameterized types, representational types,
constraints, formal type parameters, and roles before they can begin
to write the radix_to_dec() function they actually wanted...

Sorry for that. I think in the end it boils down to specifying what role StringNumification does. I didn't manage to think of a better name. It basically contains unary + which is at the very heart of Perl 6, isn't it? I hope explaining roles is not much harder than explaining tied variables.


Regards, -- TSa (Thomas Sandlaß)



Reply via email to