The stable marriage problem is an important problem in computer science and economics. This is an implementation in Haskell of the problem and the well-known Gale-Shapley algorithm (deferred acceptance algorithm) for solving it.
I first encountered this problem in the lecture Algorithmic Game Theory.