Probably it is obvious for many people but it took me some time to realize that I can use these.
stack(
s("hh").struct(eq("1 0 0 1","1 1 0 0")) // NXOR
,s("hh").struct(eq("1 0 0 1","1 1 0 0").inv()) // XOR
,s("hh").struct(and("1 0 0 1","1 1 0 0")) // AND
,s("hh").struct(and("1 0 0 1","1 1 0 0").inv()) // NAND
,s("hh").struct(or("1 0 0 1","1 1 0 0")) // OR
,s("hh").struct(or("1 0 0 1","1 1 0 0").inv()) // NOR
)
But I’m not sure what’s the issue here:
s("hh").struct(or("1 0 0 1","1 1 - -"))