Problems defining a function with lists
Using GG Classic 5.0.498.0, the same happens with 6.
I decided to learn quarternions. Wanted to define their product. (the ggb-file is attatched)
The product of quarternions is very complicated expression, so I wanted to create a function to play with them.
First I studied how to calculate the first term in product, it is p(1)*q(1) = 6, it works OK. Then the function:
->Tu(a, b):=a(1) * b(1)
But when I use it, I will get a list
Why is it a list and where did -2 come from?