From cb5cefe9a8fcd308d7bc1c58fdd082d3f3cb3a3c Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 19 Feb 2017 22:46:31 -0500 Subject: [PATCH] Updated lol-benches to work with MonadRandom-0.5. Hackage release lol-benches-0.0.0.2 --- lol-benches/CHANGES.md | 4 ++++ lol-benches/Crypto/Lol/Benchmarks/CTBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/CycBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/SimpleTensorBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/SimpleUCycBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/TensorBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/UCycBenches.hs | 2 +- lol-benches/Crypto/Lol/Benchmarks/ZqBenches.hs | 2 +- lol-benches/lol-benches.cabal | 2 +- 9 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lol-benches/CHANGES.md b/lol-benches/CHANGES.md index 1a714e14..d42be113 100644 --- a/lol-benches/CHANGES.md +++ b/lol-benches/CHANGES.md @@ -1,6 +1,10 @@ Changelog for lol-benches project ================================ +0.0.0.2 +----- + * Import Control.Monad.Random hiding `lift` to support MonadRandom-0.5.1. + 0.0.0.1 ----- * Initial commit: moved benchmarks from package lol to lol-benches. \ No newline at end of file diff --git a/lol-benches/Crypto/Lol/Benchmarks/CTBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/CTBenches.hs index b4aa49c8..52383d5e 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/CTBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/CTBenches.hs @@ -24,7 +24,7 @@ This may require some fiddling in exports of 'Tensor' instances to compile. module Crypto.Lol.Benchmarks.CTBenches (ctBenches) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Crypto.Lol.Cyclotomic.Tensor import Crypto.Lol.Prelude diff --git a/lol-benches/Crypto/Lol/Benchmarks/CycBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/CycBenches.hs index 4b7ae41a..a52d7849 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/CycBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/CycBenches.hs @@ -23,7 +23,7 @@ Benchmarks for the 'Cyc' interface. module Crypto.Lol.Benchmarks.CycBenches (cycBenches1, cycBenches2) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Crypto.Lol import Crypto.Lol.Benchmarks diff --git a/lol-benches/Crypto/Lol/Benchmarks/SimpleTensorBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/SimpleTensorBenches.hs index 3228d0c2..45beedf3 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/SimpleTensorBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/SimpleTensorBenches.hs @@ -24,7 +24,7 @@ harness (for performance comparison). module Crypto.Lol.Benchmarks.SimpleTensorBenches (simpleTensorBenches1, simpleTensorBenches2) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Criterion diff --git a/lol-benches/Crypto/Lol/Benchmarks/SimpleUCycBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/SimpleUCycBenches.hs index 943ee4ef..b6ab7f57 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/SimpleUCycBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/SimpleUCycBenches.hs @@ -24,7 +24,7 @@ harness (for performance comparison). module Crypto.Lol.Benchmarks.SimpleUCycBenches (simpleUCycBenches1, simpleUCycBenches2) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Crypto.Lol.Prelude import Crypto.Lol.Cyclotomic.UCyc diff --git a/lol-benches/Crypto/Lol/Benchmarks/TensorBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/TensorBenches.hs index cca0e177..b72f814f 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/TensorBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/TensorBenches.hs @@ -23,7 +23,7 @@ Benchmarks for the 'Tensor' interface. module Crypto.Lol.Benchmarks.TensorBenches (tensorBenches1, tensorBenches2) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Crypto.Lol.Benchmarks import Crypto.Lol.Prelude diff --git a/lol-benches/Crypto/Lol/Benchmarks/UCycBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/UCycBenches.hs index ff0c193e..15a56a0d 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/UCycBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/UCycBenches.hs @@ -23,7 +23,7 @@ Benchmarks for the 'UCyc' interface. module Crypto.Lol.Benchmarks.UCycBenches (ucycBenches1, ucycBenches2) where import Control.Applicative -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import Crypto.Lol.Benchmarks import Crypto.Lol.Cyclotomic.Tensor (TElt) diff --git a/lol-benches/Crypto/Lol/Benchmarks/ZqBenches.hs b/lol-benches/Crypto/Lol/Benchmarks/ZqBenches.hs index 411c8d9c..f7b4c7e7 100644 --- a/lol-benches/Crypto/Lol/Benchmarks/ZqBenches.hs +++ b/lol-benches/Crypto/Lol/Benchmarks/ZqBenches.hs @@ -25,7 +25,7 @@ import Crypto.Lol import Control.Applicative import Control.Monad -import Control.Monad.Random +import Control.Monad.Random hiding (lift) import qualified Data.Vector.Unboxed as U import qualified Data.Array.Repa as R diff --git a/lol-benches/lol-benches.cabal b/lol-benches/lol-benches.cabal index 5d75059c..e758f7f2 100644 --- a/lol-benches/lol-benches.cabal +++ b/lol-benches/lol-benches.cabal @@ -5,7 +5,7 @@ name: lol-benches -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.0.0.1 +version: 0.0.0.2 synopsis: A library for benchmarking . homepage: https://github.com/cpeikert/Lol Bug-Reports: https://github.com/cpeikert/Lol/issues