@@ -1,6 +1,13 @@
1{-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns,
1{-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns,
2+ NoImplicitPrelude, UndecidableInstances #-}
3+#if __GLASGOW_HASKELL >= 800
4+-- a) THQ works on cross-compilers and unregisterised GHCs
5+-- b) may make compilation faster as no dynamic loading is ever needed (not sure about this)
6+-- c) removes one hindrance to have code inferred as SafeHaskell safe
7+{-# LANGUAGE TemplateHaskellQuotes #-}
2− NoImplicitPrelude, TemplateHaskell,
9+{-# LANGUAGE TemplateHaskell #-}
3− UndecidableInstances #-}
10+#endif
5#include "overlapping-compat.h"
12#include "overlapping-compat.h"