Skip to content

Commit 9df67f5

Browse files
committed
Comment various conditional imports.
1 parent 9b37d5a commit 9df67f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Data/Sequence.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,17 +172,22 @@ import Data.Foldable (Foldable(foldl, foldl1, foldr, foldr1, foldMap), foldl', t
172172
import Data.Traversable
173173
import Data.Typeable
174174

175+
-- GHC specific stuff
175176
#ifdef __GLASGOW_HASKELL__
176177
import GHC.Exts (build)
177178
import Text.Read (Lexeme(Ident), lexP, parens, prec,
178179
readPrec, readListPrec, readListPrecDefault)
179180
import Data.Data
180181
#endif
182+
183+
-- Coercion on GHC 7.8+
181184
#if __GLASGOW_HASKELL__ >= 708
182185
import Data.Coerce
183186
import qualified GHC.Exts
184187
#else
185188
#endif
189+
190+
-- Identity functor on base 4.8 (GHC 7.10+)
186191
#if MIN_VERSION_base(4,8,0)
187192
import Data.Functor.Identity (Identity(..))
188193
#endif

0 commit comments

Comments
 (0)