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.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/State.hs b/compiler/utils/State.hs
index 8eca4657df..11bd7686d7 100644
--- a/compiler/utils/State.hs
+++ b/compiler/utils/State.hs
@@ -2,6 +2,8 @@
module State where
+import GhcPrelude
+
newtype State s a = State { runState' :: s -> (# a, s #) }
instance Functor (State s) where