[Haskell-beginners] Type-class instance for any type that has an instance of another type