How do pred and succ work when given Complex values?
More generally: if Complex does Numeric, then Numeric doesn't include
Ordered (or whatever it's called), because Complex doesn't do Ordered.
As such, you can't used Numeric for any function that depends on the
value being Ordered.
On Sun, Oct 4, 2009 at 10:15 AM, <pugs-comm...@feather.perl6.nl> wrote:
> @@ -255,7 +284,7 @@
> =item I<Standard Trig Functions>
> - Num multi method func ( Num $x: TrigBase $base = $?TRIGBASE ) is export
> + Nuermic multi method func ( Nuermic $x: TrigBase $base = $?TRIGBASE ) is
typos: s[Nuermic] = "Numeric"
> where I<func> is one of:
> sin, cos, tan, asin, acos, atan, sec, cosec, cotan, asec, acosec,
> @@ -281,14 +310,58 @@
> =item atan2
> - our Num multi method atan2 ( Num $y: Num $x = 1 )
> - our Num multi atan2 ( Num $y, Num $x = 1 )
> + our Nuermic multi method atan2 ( Nuermic $y: Nuermic $x = 1 )
> + our Nuermic multi atan2 ( Nuermic $y, Nuermic $x = 1 )
More typos: s[Nuermic] = "Numeric"
Jonathan "Dataweaver" Lang