Use case statements, as recommended [here](http://www.haskell.org/haskellwiki/Programming_guidelines#Case_expressions)