Skip to content

Commit

Permalink
Conditional check for GHC 7.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 1, 2015
1 parent e00206d commit 37ad723
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Language/ECMAScript3/PrettyPrint.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE FlexibleInstances, UndecidableInstances #-}
{-# LANGUAGE CPP #-}

-- | Pretty-printing JavaScript.
module Language.ECMAScript3.PrettyPrint (Pretty (..)
Expand All @@ -11,7 +12,11 @@ module Language.ECMAScript3.PrettyPrint (Pretty (..)

import Text.PrettyPrint.Leijen hiding (Pretty)
import Language.ECMAScript3.Syntax
#if __GLASGOW_HASKELL__ > 708
import Prelude hiding (maybe, id, (<$>))
#else
import Prelude hiding (maybe, id)
#endif
import Data.Char
import Numeric

Expand Down

0 comments on commit 37ad723

Please sign in to comment.