The Concepts Equal and Ordering

Apply theoretical knowledge to define advanced concepts: 'Ordering' and 'Equal'.

Haskell’s type classes Eq and Ord

In the previous lessons, I answered two essential questions about concepts: “How can a concept be used?” and “How can you define your concepts?”. In this lesson and the lesson ahead, I want to apply the theoretical knowledge provided in those sections to define more advanced concepts such as Ordering, SemiRegular, and Regular.

I presented already in the short detour to the long, long history of concepts a part of Haskell’s type classes hierarchy:

Get hands-on with 1200+ tech skills courses.