My question is whether there are ways to test two IO actions
in HSpec of Haskell?
Just something like the below example: (The below is wrong because of type)
it "parse examples 0" $ liftM2 shouldBe (tests "ex0in.txt") (tests "ex0Out.txt")
tests :: FileType -> IO (Either String String)