summaryrefslogtreecommitdiff
path: root/compiler/utils/State.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/State.hs')
-rw-r--r--compiler/utils/State.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/utils/State.hs b/compiler/utils/State.hs
index a1903cee76..fb6f2c3554 100644
--- a/compiler/utils/State.hs
+++ b/compiler/utils/State.hs
@@ -1,11 +1,7 @@
-{-# LANGUAGE UnboxedTuples, CPP #-}
+{-# LANGUAGE UnboxedTuples #-}
module State where
-#if __GLASGOW_HASKELL__ < 709
-import Control.Applicative
-#endif
-
newtype State s a = State { runState' :: s -> (# a, s #) }
instance Functor (State s) where