ghc-options: -Wall
-main-is Dyna.Main.Driver
+ if (impl(ghc < 7.7))
+ cpp-options: -DDYNA_GHC_PRE_77
+
Build-Depends: ansi-wl-pprint >= 0.6,
base >=4 && <6,
bytestring >=0.9,
ghc-options: -Wall
-main-is Dyna.Main.TestsDriver
+ if (impl(ghc < 7.7))
+ cpp-options: -DDYNA_GHC_PRE_77
+
Build-Depends: ansi-wl-pprint >= 0.6,
base >=4 && <6,
bytestring >=0.9,
-- call during mode analysis.
-- Header material {{{
+{-# LANGUAGE CPP #-} -- XXX doCall
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE ViewPatterns #-}
+ -- XXX can't use MIN_TOOL_VERSION because there are still
+ -- very old cabals out in the wild. :(
+#ifndef DYNA_GHC_PRE_77
{-# LANGUAGE AllowAmbiguousTypes #-} -- XXX doCall
+#endif
{-# OPTIONS_GHC -Wall #-}
module Dyna.Analysis.Mode.Execution.Functions (