scalaz/scalaz — Issue #56: IO.except not working correctly
Author: rwallace
Created: 2011-12-07 00:03:18+00:00
State: open

putStrLn("first!") >|> throwIO(new Exception("help!")) except (e => putStrLn(e.getMessage)) unsafePerformIO

results in the output

first!
java.lang.Exception: help!
at $anonfun$1.apply(:17)
at $anonfun$1.apply(:17)
at scalaz.MA$$anonfun$$greater$great

instead of the expected

first!
help!