Used -XLambdaCase when the result of the case wasn't being used after a match