on master help sign in
7.10 compatibility
commitd2beadc7d5f4e547687579cff6abf02925c9bf40 authorDavid Raymond Christiansen <david@davidchristiansen.dk> dateThu 11 Jun 2015, 10:01 (11 years ago) parent63806e5
1 file changed+8
src/Idris/Prover.hs+8
src/Idris/Prover.hs+8
@@ -1,6 +1,14 @@
11{-# LANGUAGE PatternGuards #-}
22module Idris.Prover (prover, showProof, showRunElab) where
33
4+-- Hack for GHC 7.10 and earlier compat without CPP or warnings
5+-- This exludes (<$>) as fmap, because wl-pprint uses it for newline
6+import Prelude (Eq(..), Show(..),
7+ Bool(..), Either(..), Maybe(..), String,
8+ (.), ($), (++),
9+ concatMap, id, elem, error, fst, flip, foldl, foldr, init,
10+ length, lines, map, not, null, repeat, reverse, tail, zip)
11+
412import Idris.Core.Elaborate hiding (Tactic(..))
513import Idris.Core.TT
614import Idris.Core.Evaluate