Skip to content

Commit 846c87b

Browse files
committed
Fix benchmark build with stack-bench.yaml
1 parent 5f73f31 commit 846c87b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

benchmarks/Compare/BufferBuilder.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
module Compare.BufferBuilder () where
88

99
import Prelude ()
10-
import Prelude.Compat
10+
import Prelude.Compat hiding ((<>))
1111

1212
import Data.BufferBuilder.Json
1313
import Data.Int (Int64)
14+
import Data.Monoid ((<>))
1415
import Twitter
1516
import qualified Data.BufferBuilder.Utf8 as UB
1617

examples/Twitter/Manual.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import Prelude ()
1616
import Prelude.Compat
1717

1818
import Control.Applicative
19+
import Data.Semigroup ((<>))
1920
import Twitter
2021

2122
import Data.Aeson hiding (Result)

stack-bench.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: nightly-2017-12-23
1+
resolver: nightly-2018-03-12
22
# We use aeson in the snapshot to
33
# - avoid recompilation of criterion
44
# - compare against it
@@ -10,5 +10,4 @@ work-dir: .stack-work-bench
1010
packages:
1111
- benchmarks
1212
extra-deps:
13-
- aeson-1.2.3.0
14-
- text-1.2.3.0
13+
- aeson-1.3.1.0

0 commit comments

Comments
 (0)