+1 for this.
We had a very long discussion about this a few years ago.
One of the results from that discussion, about the advantage
of current Union("failed", xx) is that, there's compiler
support for "failed", so for the other branch, type coercion
is automated, (no need to manually coerce value to type xx).
But I think this is only a small advantage.
- Qian
On 4/23/26 10:09 PM, 'Ralf Hemmecke' via FriCAS - computer algebra