Skip to content

Commit 6a67d89

Browse files
committed
Dirty fix for newer GHC versions: removed dependency on smtlib and hid (<>) imports from Prelude
1 parent 9476b7a commit 6a67d89

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

copilot-theorem.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ library
5454
, xml
5555
, random
5656
, transformers
57-
, smtlib2 >= 0.3 && < 1.0
57+
-- , smtlib2 >= 0.3 && < 1.0
5858
, ansi-terminal
5959

6060
exposed-modules : Copilot.Theorem
6161
, Copilot.Theorem.Prove
6262
, Copilot.Theorem.Kind2
6363
, Copilot.Theorem.Prover.SMT
64-
, Copilot.Theorem.Prover.Z3
64+
-- , Copilot.Theorem.Prover.Z3
6565
, Copilot.Theorem.Kind2.Prover
6666

6767
other-modules : Copilot.Theorem.Tactics

src/Copilot/Theorem/IL/PrettyPrint.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import Copilot.Theorem.IL.Spec
99
import Text.PrettyPrint.HughesPJ
1010
import qualified Data.Map as Map
1111

12+
import Prelude hiding ((<>))
13+
1214
--------------------------------------------------------------------------------
1315

1416
prettyPrint :: IL -> String

src/Copilot/Theorem/TransSys/PrettyPrint.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import Text.PrettyPrint.HughesPJ
1212
import qualified Data.Map as Map
1313
import qualified Data.Bimap as Bimap
1414

15+
import Prelude hiding ((<>))
16+
1517
--------------------------------------------------------------------------------
1618

1719
indent = nest 4

0 commit comments

Comments
 (0)