From 0a0eaa01bcbe9574bb86a6470ca5139fbd32a9d3 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Fri, 18 Aug 2017 11:55:44 +0200 Subject: Bump version requirements to base>=4.6, Cabal>=1.20 Cabal>=1.20 allows control over parallelism when compiling grammars from Setup.hs and WebSetup.hs. base>=4.6 allows conditional compilation with CPP to be eliminated from a few modules. base-4.6 corresponds to GHC 7.6.3, which is what you get in Debian 8 (aka jessie, aka oldstable) from 2015. --- src/compiler/GF/System/Catch.hs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/compiler/GF/System/Catch.hs') diff --git a/src/compiler/GF/System/Catch.hs b/src/compiler/GF/System/Catch.hs index f69934af5..11fae1a7b 100644 --- a/src/compiler/GF/System/Catch.hs +++ b/src/compiler/GF/System/Catch.hs @@ -1,13 +1,7 @@ --- | Isolate backwards incompatible library changes to 'catch' and 'try' -{-# LANGUAGE CPP #-} +-- | Backwards compatible 'catch' and 'try' module GF.System.Catch where import qualified System.IO.Error as S -- ** Backwards compatible try and catch -#if MIN_VERSION_base(4,4,0) catch = S.catchIOError try = S.tryIOError -#else -catch = S.catch -try = S.try -#endif -- cgit v1.2.3