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.)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe