concept default implementation in category haskell

appears as: default implementations, The default implementation, default implementations, default implementation
Haskell in Depth

This is an excerpt from Manning's book Haskell in Depth.

This class defines two methods with default implementations. We can use them instead of writing our implementation, or we can redefine them in instances. The former is usually done when it’s possible to define them more efficiently exploiting an internal representation of a type.

The default implementation of `Read` can handle this task. Unfortunately, we didn't derive it. We can do that by changing the datatype declarations or, alternatively, we can write a standalone deriving clause as follows:

The /= method body refers to a default $dm/= method implementation. Note the visible type application in the code above: @(Main.Student). GHC explicitly instantiates the default implementation to the Student type.