git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
CPP for GHC < 7.10
commitb9cb5d9449fefbdd7720e6fe024ebae7dd47198e authorPhil Freeman <paf31@cantab.net> dateWed 23 Sep 2015, 20:09 (11 years ago) parent7cf48f0
1 file changed+5
src/Language/PureScript/AST/SourcePos.hs+5
src/Language/PureScript/AST/SourcePos.hs+5
@@ -12,6 +12,7 @@
1212--
1313-----------------------------------------------------------------------------
1414
15+{-# LANGUAGE CPP #-}
1516{-# LANGUAGE DeriveDataTypeable #-}
1617{-# LANGUAGE ScopedTypeVariables #-}
1718{-# LANGUAGE RecordWildCards #-}
@@ -23,6 +24,10 @@ import qualified Data.Data as D
2324import Data.Aeson ((.=), (.:))
2425import qualified Data.Aeson as A
2526
27+#if __GLASGOW_HASKELL__ < 710
28+import Control.Applicative
29+#endif
30+
2631-- |
2732-- Source position information
2833--