Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
d0758346
Commit
d0758346
authored
Sep 17, 2008
by
Ian Lynagh
Browse files
Generalise the type of onException
Now it matches Control.Exception's type
parent
1303eb43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/Compat/Exception.hs
View file @
d0758346
...
...
@@ -16,7 +16,7 @@ module Distribution.Compat.Exception
import
System.Exit
import
qualified
Control.Exception
as
Exception
onException
::
IO
a
->
IO
()
->
IO
a
onException
::
IO
a
->
IO
b
->
IO
a
#
ifdef
NEW_EXCEPTION
onException
=
Exception
.
onException
#
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment