note
This commit is contained in:
parent
23da029b75
commit
128eaa7073
1 changed files with 5 additions and 0 deletions
|
@ -2,8 +2,13 @@
|
|||
module Portability where
|
||||
|
||||
-- old ghc does not know about SomeException.
|
||||
--
|
||||
-- http://haskell.1045720.n5.nabble.com/Help-using-catch-in-6-10-td3127921.html#a3127921
|
||||
--
|
||||
-- This needs ghc -cpp
|
||||
--
|
||||
-- This would be better, but is not packaged in Debian yet.
|
||||
-- http://hackage.haskell.org/package/extensible-exceptions
|
||||
#if __GLASGOW_HASKELL__ < 610
|
||||
type SomeException = Exception
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue