summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Hooks.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Hooks.hs-boot')
-rw-r--r--compiler/GHC/Driver/Hooks.hs-boot6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Hooks.hs-boot b/compiler/GHC/Driver/Hooks.hs-boot
index 48d6cdb1bc..efc6f5a32d 100644
--- a/compiler/GHC/Driver/Hooks.hs-boot
+++ b/compiler/GHC/Driver/Hooks.hs-boot
@@ -5,3 +5,9 @@ import GHC.Prelude ()
data Hooks
emptyHooks :: Hooks
+
+class HasHooks m where
+ getHooks :: m Hooks
+
+class ContainsHooks a where
+ extractHooks :: a -> Hooks