on master help sign in
Fix benchmark compilation (closes #681)
f4a379fMichael Snoyman
warp/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 3.2.18.1
2+
3+* Fix benchmark compilation [#681](https://github.com/yesodweb/wai/issues/681)
4+
1## 3.2.18
5## 3.2.18
2
6
3* Make `testWithApplicationSettings` actually use the settings passed.
7* Make `testWithApplicationSettings` actually use the settings passed.
warp/bench/Parser.hs+5
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
1{-# LANGUAGE OverloadedStrings #-}
2{-# LANGUAGE OverloadedStrings #-}
2{-# LANGUAGE BangPatterns #-}
3{-# LANGUAGE BangPatterns #-}
3
4
@@ -18,7 +19,11 @@ import Foreign.ForeignPtr
18import Foreign.Ptr
19import Foreign.Ptr
19import Foreign.Storable
20import Foreign.Storable
20
21
22+#if MIN_VERSION_gauge(0, 2, 0)
21import Gauge
23import Gauge
24+#else
25+import Gauge.Main
26+#endif
22
27
23-- $setup
28-- $setup
24-- >>> :set -XOverloadedStrings
29-- >>> :set -XOverloadedStrings
warp/warp.cabal+1−1
@@ -1,5 +1,5 @@
1Name: warp
1Name: warp
2−Version: 3.2.18
2+Version: 3.2.18.1
3Synopsis: A fast, light-weight web server for WAI applications.
3Synopsis: A fast, light-weight web server for WAI applications.
4License: MIT
4License: MIT
5License-file: LICENSE
5License-file: LICENSE