diff --git a/src/main/eta/Main.hs b/src/main/eta/Main.hs index 346318fd..d694eabc 100644 --- a/src/main/eta/Main.hs +++ b/src/main/eta/Main.hs @@ -27,7 +27,7 @@ eval EAS dir file = putExcept $ EAS.assemblyIO dir file eval HAPAPL dir file = hapapl dir file putExcept :: IO (Either String String) -> IO () -putExcept io = putStrLn =<< (output <$> io) +putExcept io = putStrLn . output =<< io output :: Either String String -> String output (Right result) = result