[Haskell-cafe] hspec - type issue in error assertion