@@ -1,6 +1,13 @@
11{-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns,
2− NoImplicitPrelude, TemplateHaskell,
3− UndecidableInstances #-}
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 #-}
8+#else
9+{-# LANGUAGE TemplateHaskell #-}
10+#endif
411
512#include "overlapping-compat.h"
613