Ralf Hemmecke wrote:
> > Should I apply the following patch?:
> >     prime? n ==
> >        n<  0 =>  n := -n
> >        n<  two =>  false
> 
> Why not just write
> 
>     prime? x == prime?(abs x)$IntegerPrimesPackage(%)
> 

Your way would make 'prime?$Integer' and 'prime?$IntegerPrimesPackage'
incompatible, which may be confusing.

-- 
                              Waldek Hebisch
[email protected] 
-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.


Reply via email to