Hi Folks,
Here are two instances of the distribute
algorithm. Only the first gives the expected result. The only difference in the code is where the opening bracket is placed.
# ----------------------------------------------
# this works as expected
foo := A (
B + C);
distribute (foo);
# ----------------------------------------------
# this fails to apply the "distribute" algorithm
bah := A
(B + C);
distribute (bah);
Cheers,
Leo