Today at my computer science tutorial, we programmed a simple Hangman AI in Haskell. It works with a word list and always guesses the most frequent unguessed letter in all possible solutions. I have commented the program, although in German. Anyone interested in a piece of haskell that's partly striclty functional and partly IO-based, have a look at the PDF-File with comments and the literate haskell source file.
Have something to say? You can post a comment by sending an e-Mail to me at <firstname.lastname@example.org>, and I will include it here.