summaryrefslogtreecommitdiff
path: root/compiler/utils/Stream.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/Stream.hs')
-rw-r--r--compiler/utils/Stream.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/Stream.hs b/compiler/utils/Stream.hs
index 47cdee0789..2353a8177d 100644
--- a/compiler/utils/Stream.hs
+++ b/compiler/utils/Stream.hs
@@ -12,7 +12,10 @@ module Stream (
Stream.map, Stream.mapM, Stream.mapAccumL
) where
import Control.Monad
+#if __GLASGOW_HASKELL__ < 709
import Control.Applicative
+#endif
+
-- |
-- @Stream m a b@ is a computation in some Monad @m@ that delivers a sequence