Several implementations of sleeping barber problem in Haskell.