Brent Dax wrote:

> Aaron Sherman:
>       sub abs($num is int){ return $num>=0 ?? $num :: -$num }
>              ^^^^^^^^^^^^^
> I believe that should be (int $num).


and there is a ťabsŤ in core.ops.

Anyway, before implementing a bunch of builtins, it should be organized 
a little, where they should finally be stored.

The current Bultins.pm is not the place for it in the long run.
Builitins implemented in perl6 could go to a hierarchy of subdirs below 
P6C/Buitins.
For builtins written as .imc or .pasm I'll do some sort of #include 
mechanism in imcc. If they are stored as individual files in above 
hierarchy or somewhere else should be discussed too. Actually they will 
be bundled to some sort of runtime lib anyways.

my 2 ˘
leo

Reply via email to