byteable >= 0.1 && <0.2,
cereal >= 0.4,
cryptohash >=0.11 && <0.12,
+ either >=4.4,
-- cipher-aes >=0.2 && <0.3,
deepseq >= 1.1,
hex >= 0.1
tasty >= 0.10,
tasty-hunit >= 0.9,
tasty-quickcheck >= 0.8,
- QuickCheck < 2.8,
+ QuickCheck >= 2.8,
hmacaroons
import Crypto.Macaroon
-
--- | Adjust the size parameter, by transforming it with the given
--- function.
--- Copied over from QuickCheck 2.8
-scale :: (Int -> Int) -> Gen a -> Gen a
-scale f g = sized (\n -> resize (f n) g)
-
-
--- | Generates a random subsequence of the given list.
--- Copied over from QuickCheck 2.8
-sublistOf :: [a] -> Gen [a]
-sublistOf = filterM (\_ -> choose (False, True))
-
newtype Url = Url { unUrl :: BS.ByteString } deriving (Show)
instance Arbitrary Url where