Skip to content

Commit

Permalink
make benchsuite compile again
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Nov 6, 2024
1 parent 1cd6a1e commit 8e24308
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SBVBenchSuite/BenchSuite/ProofTools/Sum.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ import BenchSuite.Bench.Bench as B
benchmarks :: Runner
benchmarks = runIO "Sum.Correctness" sumCorrect

instance NFData a => NFData (S a)
instance NFData a => NFData (S a) where rnf a = seq a ()
instance NFData a => NFData (InductionResult a) where rnf a = seq a ()
2 changes: 1 addition & 1 deletion SBVBenchSuite/BenchSuite/WeakestPreconditions/Append.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import BenchSuite.WeakestPreconditions.Instances()


-- | orphaned instance for benchmarks
instance NFData a => NFData (AppC a) where rnf x = seq x ()
instance NFData a => NFData (AppS a) where rnf x = seq x ()

benchmarks :: Runner
benchmarks = runIO "Correctness.Append" correctness
4 changes: 0 additions & 4 deletions SBVBenchSuite/BenchSuite/WeakestPreconditions/Length.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ module BenchSuite.WeakestPreconditions.Length(benchmarks) where

import Documentation.SBV.Examples.WeakestPreconditions.Length

import Control.DeepSeq
import BenchSuite.Bench.Bench
import BenchSuite.WeakestPreconditions.Instances()

instance NFData a => NFData (LenS a)


benchmarks :: Runner
benchmarks = runIO "Correctness.Length" correctness

0 comments on commit 8e24308

Please sign in to comment.