1
vote
0answers
143 views

What's a good data structure to represent a, b, a and b, a or b? [closed]

I have a function foobar[x_] that can produce 4 types of output a b a or b a and b What's a good data structure, or better ...