Oh, I missed this line:

for op in algop   repeat assert(op, ALGOP) -- algop is [oproot, opalg]

So "has?(operator k, ALGOP)" is a shortcut for
"is?(operator k, 'nthRoot) or is?(operator k, 'rootOf)".

I was under the impression that there's an operator named "%alg",
turns out this is a property, not a name.

- Qian

On 12/16/23 20:11, Waldek Hebisch wrote:
On Sat, Dec 16, 2023 at 05:34:10PM +0800, Qian Yun wrote:
Seems that ALGOP, macro for '%alg, is not used anywhere in the
code base?

Simple search shows that it is used quite a lot.

On the other hand, "opalg" is often defined as operator('rootOf).

ALGOP catches both 'rootOf' and 'nthRoot' so there is significant
difference.


--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/5b2b407c-6286-4280-92a0-bb34df0c961a%40gmail.com.

Reply via email to