HCodecs-0.5.2: A library to read, write and manipulate MIDI, WAVE, and SoundFont2 files.
CopyrightGeorge Giorgidze
LicenseBSD3
MaintainerGeorge Giorgidze <http://cs.nott.ac.uk/~ggg/>
StabilityExperimental
PortabilityPortable
Safe HaskellSafe-Inferred
LanguageHaskell98

Codec.Internal.Arbitrary

Description

Additional instances of the Arbitrary type class defined in QuickCheck. Some portions of code were copied from the test suite of binary package.

Documentation

arrayGen :: (Arbitrary e, Num i, IArray a e, Ix i) => Word -> Gen (a i e) Source #

Orphan instances

Arbitrary ByteString Source # 
Instance details

Arbitrary ByteString Source # 
Instance details

(Arbitrary e, Num i, IArray Array e, Ix i) => Arbitrary (Array i e) Source # 
Instance details

Methods

arbitrary :: Gen (Array i e) #

shrink :: Array i e -> [Array i e] #