Download raw

Created: 2019-10-12 06:53:48.403379 UTC

Size: 1066

Preview (limited to 512 bytes)

"-- | Benchmarking utilities. For example, functions for generating\n-- random 'ByteString's.\nmodule Util.ByteString where\n\nimport qualified Data.ByteString as S\nimport qualified Data.ByteString.Char8 as C\n\nimport Util.String as String\n\n-- | Generate a number of fixed length 'ByteString's where the content\n-- of the strings are letters in ascending order.\nasc :: Int -- ^ Length of each string\n -> Int -- ^ Number of strings\n -> [S.ByteString]\nasc strlen num = map C.pack $ String.asc strlen num\n\n-- | G"

A service provided by FP Complete