Suppose I have a data type like so:
data Color = Red | Blue | Green
How would I generate a function like this using templatehaskell?
myShow Red = ...
myShow Blue = ...
myShow Green = ...
i.e. I'm looking for multiple definitions for a function based on pattern-matching.