on master help sign in
Fix for GHC 8.2.1 compilation
commitad480b083e641894470865dc8828c44c345f3925 authorNiklas Larsson <niklas@mm.st> dateSun 23 Jul 2017, 15:11 (9 years ago) parent0f8b4ca
1 file changed+3−1
src/Idris/Core/DeepSeq.hs+3−1
src/Idris/Core/DeepSeq.hs+3−1
@@ -5,7 +5,7 @@ Copyright :
55License : BSD3
66Maintainer : The Idris Community.
77-}
8−{-# LANGUAGE BangPatterns, ViewPatterns #-}
8+{-# LANGUAGE BangPatterns, CPP, ViewPatterns #-}
99{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
1010
1111module Idris.Core.DeepSeq where
@@ -27,7 +27,9 @@ forceDefCtxt (force -> !ctxt) = ctxt
2727
2828instance NFData NameOutput
2929instance NFData TextFormatting
30+#if !(MIN_VERSION_base(4,10,0))
3031instance NFData Ordering
32+#endif
3133instance NFData OutputAnnotation
3234instance NFData SpecialName
3335instance NFData Universe