How do I create an operator in Haskell?
Just add parentheses around your operator: (<=>) :: Ternary -> Ternary -> Ternary (<=>) T F = F (<=>) T T = T (<=>) T M = M (<=>) F F = T (<=>) F T = F (<=>) F M = M (<=>) M F = M (<=>) M T = M (<=>) M … Read more