concept interface in category haskell
appears as: interfaces, interface, An interface, n interface

This is an excerpt from Manning's book Haskell in Depth.
There are programming languages which support named instances. In those languages we could have one default instance and several named ones. Idris is one example of such a language. In other aspects type classes in Idris (though called interfaces there) are very similar to Haskell.
Our first goal is to provide an interface for a graph without fixing any details about representation. That means that we should provide functions that don’t use specific types. This is where type families shine. The following listing demonstrates a fragment of such an interface: