Avoid unsafeCoerce# in TopHandler
authorJoachim Breitner <mail@joachim-breitner.de>
Wed, 4 Dec 2013 10:30:45 +0000 (10:30 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Wed, 4 Dec 2013 10:30:48 +0000 (10:30 +0000)
commitc68f56488be342ef34a6808f32232a4dd4bd713b
tree94e1956bca69562f7d346f41e619efc23da7f2bc
parentd679f5e9b57935fb0c04ddccb85c69881212979a
Avoid unsafeCoerce# in TopHandler

instead use `... >> fail "..."` to turn IO () into IO a.
GHC/TopHandler.lhs