HaloO,
John M. Dlugosz wrote:
I posted my current work at
http://www.dlugosz.com/files/specdoc.pdf
Please look.
In "24.28.1 abs" you define
our ::?CLASS multi method abs ( $x: )
I would rather nail down the return type to 'Num where {$_ >= 0}'.
The latter might also get a nice name, e.g. Abs. This in turn would
make the abs multi method/sub kind of redundant.
I guess that the standard set of functions/methods mustn't contain
a norm as extension to the above.
Regards, TSa.
--
"The unavoidable price of reliability is simplicity" -- C.A.R. Hoare
"Simplicity does not precede complexity, but follows it." -- A.J. Perlis
1 + 2 + 3 + 4 + ... = -1/12 -- Srinivasa Ramanujan