Is it possible to define my own ++ operator for a custom data type in Haskell?
I have:
data MyType = MyType [String]
and I would like to define my own concatenation operator as:
instance ? MyType where
(MyType x) ++ (MyType y) = MyType (x ++ y)
I can't seem to find the name of the instance class anywhere.