[Haskell-cafe] uncommon IMO problem - toilet management

Henning Thielemann lemming at henning-thielemann.de
Fri Jul 17 16:25:48 EDT 2009


In the last two days I was invigilator at the International Mathematic 
Olympics 2009 in Bremen, Germany. There we got a problem different from 
the official math problems. :-) Eventually I solved it using Haskell. Read 
the detailed description at
   http://hackage.haskell.org/package/toilet-0.0.1

I think the problem is simple enough to be used in education of 
programming.

(I also think it would have been better to avoid monads and use lazy list 
processing.)


More information about the Haskell-Cafe mailing list