git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
CPP for GHC < 7.10
b9cb5d9Phil Freeman
src/Language/PureScript/AST/SourcePos.hs+5
@@ -12,6 +12,7 @@
12--
12--
13-----------------------------------------------------------------------------
13-----------------------------------------------------------------------------
14
14
15+{-# LANGUAGE CPP #-}
15{-# LANGUAGE DeriveDataTypeable #-}
16{-# LANGUAGE DeriveDataTypeable #-}
16{-# LANGUAGE ScopedTypeVariables #-}
17{-# LANGUAGE ScopedTypeVariables #-}
17{-# LANGUAGE RecordWildCards #-}
18{-# LANGUAGE RecordWildCards #-}
@@ -23,6 +24,10 @@ import qualified Data.Data as D
23import Data.Aeson ((.=), (.:))
24import Data.Aeson ((.=), (.:))
24import qualified Data.Aeson as A
25import qualified Data.Aeson as A
25
26
27+#if __GLASGOW_HASKELL__ < 710
28+import Control.Applicative
29+#endif
30+
26-- |
31-- |
27-- Source position information
32-- Source position information
28--
33--