G      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      State represents QuickCheck'+s internal state while testing a property. 4 | The state is made visible to callback functions. the current terminal *maximum number of successful tests needed .maximum number of tests that can be discarded +how to compute the size of test cases from   tests and discarded tests 0the current number of tests that have succeeded &the current number of discarded tests +all labels that have been collected so far .indicates if the property is expected to fail the current random seed are we in a shrinking phase? ,number of successful shrinking steps so far Bnumber of failed shrinking steps since the last successful shrink     ,Modifies a generator using an integer seed. @Used to construct generators that depend on the size parameter. =Overrides the size parameter. Returns a generator which uses 7 the given size instead of the runtime-size parameter. 9Generates a random element in the given inclusive range. !7Promotes a generator to a generator of monadic values. "Generates some example values. #1Generates some example values and prints them to stdout. $.Generates a value that satisfies a predicate. %6Tries to generate a value that satisfies a predicate. &:Randomly uses one of the given generators. The input list  must be non-empty. 'JChooses one of the given generators, with a weighted random distribution. # The input list must be non-empty. (EGenerates one of the given values. The input list must be non-empty. )9Takes a list of elements of increasing size, and chooses @ among an initial segment of the list. The size of this initial , segment increases with the size parameter. # The input list must be non-empty. *EGenerates a list of random length. The maximum length depends on the  size parameter. +AGenerates a non-empty list of random length. The maximum length  depends on the size parameter. ,&Generates a list of the given length.  !"#$%&'()*+, !"#$%&'()*+, !"#$%&'()*+,-)Used for random generation of functions. .$Used to generate a function of type a -> c. The implementation ? should use the first argument to perturb the random generator 7 given as the second argument. the returned generator / is then used to generate the function result.  You can often use  and ; to implement  .. /+Random generation and shrinking of values. 0*A generator for values of the given type. 15Produces a (possibly) empty list of all the possible ' immediate shrinks of the given value. 23EGenerates an integral number. The number can be positive or negative ? and its maximum absolute value depends on the size parameter. 4FGenerates a fractional number. The number can be positive or negative ? and its maximum absolute value depends on the size parameter. 5BGenerates an integral number. The number is chosen uniformly from 3 the entire range of the type. You may want to use  7 instead. 67Generates an element of a bounded type. The element is + chosen from the entire range of the type. 7BGenerates an integral number from a bounded domain. The number is A chosen from the entire range of the type, but small numbers are A generated more often than big numbers. Inspired by demands from  Phil Wadler. 8$Returns no shrinking alternatives. 9Shrink an integral number. :Shrink a fraction. ;=Combine two generator perturbing functions, for example the  results of calls to  or .. <A .& implementation for integral numbers. =A ." implementation for real numbers. >. helper for lazy people :-). ?$Generates a list of a given length. @-Generates an ordered list of a given length. -./0123456789:;<=>?@/01-.35746829:;<=>?@-../010123456789:;<=>?@ABCDEFGHIJKLMNOPQRABCDEFGHIJKLMNOPQRPQRMNOJKLGHIDEFABCABCBCDEFEFGHIHIJKLKLMNONOPQRQRSTUV Shrinking _ x3: allows for maintaining a state during shrinking. WX Smart _ x*: tries a different order when shrinking. YZ Shrink2 x=: allows 2 shrinking steps at the same time when shrinking x [\ NonNegative x: guarantees that x >= 0. ]^ NonZero x: guarantees that x /= 0. _` Positive x: guarantees that x > 0. ab NonEmpty xs#: guarantees that xs is non-empty. cd Ordered xs!: guarantees that xs is ordered. efFixed x : as x, but will not be shrunk. ghBlind x): as x, but x does not have to be in the  class. iSTUVWXYZ[\]^_`abcdefghihifgdebc`a^_\]XYZ[VWSTUSTUTUVWWXYYZ[[\]]^__`aabccdeefgghii2jThe result of a single test. kl+result of the test case; Nothing = discard m6indicates what the expected result of the property is n%a message indicating what went wrong o8indicates if the test case was cancelled by pressing ^C p(the collected values for this test case q!the callbacks for this test case rDifferent kinds of callbacks s(Called with the final failing test-case tCalled just after a test uvwxyzFThe class of things which can be tested, i.e. turned into a property. {|}~3Changes the maximum test case size for a property. @Shrinks the argument to property if it fails. Shrinking is done D automatically for most types. This is only needed when you want to  override the default behavior. 1-like function. The original argument .Disables shrinking for a property altogether. Adds a callback  Performs an . action after the last failure of a property.  Performs an + action every time a property fails. Thus, > if shrinking is done, this can be used to keep track of the  failures along the way. HModifies a property so that it is expected to fail for some test cases. ;Attaches a label to a property. This is used for reporting  test case distribution.  Labels a property with a value:  collect x = label (show x)  Conditionally labels test case. True& if the test case should be labelled. Label. CChecks that at least the given proportion of the test cases belong  to the given class. True( if the test case belongs to the class. /The required percentage (0-100) of test cases. Label for the test case class. <Implication for properties: The resulting property holds if  the first argument is ", or if the given property holds. ;Considers a property failed if it does not complete within # the given number of microseconds. <Explicit universal quantification: uses an explicitly given  test case generator. Like ;, but tries to shrink the argument for failing test cases. 3jklmnopqrstuvwxyz{|}~2|z{wxyuv}~rtsjklmnopq2jklmnopqklmnopqrtsstuvvwxyxyz{{|}~!"Result represents the test result what seed was used what was the test size what was the reason %number of successful tests performed 9labels and frequencies found during all successful tests 2Args specifies arguments to the QuickCheck driver "should we replay a previous test? 5maximum number of successful tests before succeeding 3maximum number of discarded tests before giving up 'size to use for the biggest test cases 6isSuccess checks if the test run result was a success ,stdArgs are the default test arguments used +Tests a property and prints the results to stdout. BTests a property, using test arguments, and prints the results to stdout. DTests a property, produces a test result, and prints the results to stdout. ZTests a property, using test arguments, produces a test result, and prints the results to stdout. !$!    e !"#$%&'()*+,-./013456789:;<=>?@STUVWXYZ[\]^_`abcdefghiwz{|h !$%&'()*+,?@#"/01-.3475689:;<=>hifgdebc`a^_\]XYZ[VWSTU|wz{  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNNOPPQRRSTTUVVWXXYZ[\]]^^__``aabbcdefgghhijklmnopqrstuvwxyz{|}~im                    QuickCheck-2.2Test.QuickCheck.TextTest.QuickCheck.StateTest.QuickCheck.GenTest.QuickCheck.ArbitraryTest.QuickCheck.PolyTest.QuickCheck.ModifiersTest.QuickCheck.PropertyTest.QuickCheck.TestTest.QuickCheck.FunctionTest.QuickCheck.MonadicTest.QuickCheck.ExceptionTest.QuickCheckTerminalStrMkStrrangesnumbershortshowErrbold newTerminalputPartputTempputLineStateMkStateterminalmaxSuccessTestsmaxDiscardedTests computeSizenumSuccessTestsnumDiscardedTests collectedexpectedFailure randomSeed isShrinkingnumSuccessShrinks numTryShrinksGenMkGenunGenvariantsizedresizechoosepromotesample'samplesuchThat suchThatMaybeoneof frequencyelementsgrowingElementslistOflistOf1vectorOf CoArbitrary coarbitrary Arbitrary arbitraryshrink shrinkListarbitrarySizedIntegralarbitrarySizedFractionalarbitraryBoundedIntegralarbitraryBoundedRandomarbitrarySizedBoundedIntegral shrinkNothingshrinkIntegralshrinkRealFrac><coarbitraryIntegralcoarbitraryRealcoarbitraryShowvector orderedListOrdCunOrdCOrdBunOrdBOrdAunOrdACunCBunBAunA ShrinkState shrinkInit shrinkState ShrinkingSmartShrink2 NonNegativeNonZeroPositive NonEmptyListNonEmpty OrderedListOrderedFixedBlindResultMkResultokexpectreason interruptedstamp callbacksCallbackPostFinalFailurePostTestRoseMkRosePropMkPropunPropTestablepropertyPropertyjoin protectRoseresultfailed protectResult succeededrejectedliftBool liftResult liftIOResultliftRoseIOResult mapResult mapIOResultmapRoseIOResultmapPropmapSize shrinking noShrinkingcallbackwhenFail whenFail' expectFailurelabelcollectclassifycover==>withinforAll forAllShrink.&.NoExpectedFailureFailureusedSeedusedSizeGaveUpnumTestsSuccesslabelsArgsreplay maxSuccess maxDiscardmaxSize isSuccessstdArgs quickCheckquickCheckWithquickCheckResultquickCheckWithResulttest doneTestinggiveUprunATestsummarysuccess foundFailurelocalMin localMinFoundcallbackPostTestcallbackPostFinalFailureFun FunArbitrary funArbitrary:->funArbitraryMapfunArbitraryShowapplyMonadSreturn'bind'MonadS'MkMonadSretbinIdMMkIdMunIdM PropertyM MkPropertyM unPropertyMassertprerunpickwpforAllMmonitormonadic monadicIO AnException tryEvaluate tryEvaluateIO isInterrupt MkTerminalflushpostponebaseGHC.ShowShowghc-prim GHC.TypesIOGHC.BoolFalse exceptionMapTableNilUnit:+:Pairabstracttable shrinkFunfun