I\'m trying to add an instance declaration in Haskell for a new data type I\'ve created unsuccessfully. Here what I\'ve tried so far:
data Prediction = Predictio
Replace your last line with:
instance Show Prediction where show = showPrediction