)      !"#$%&'()*+,-./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 ,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. $?Promotes a monadic 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.  !"#$%&'()*+,-./ !"#$%&'()*+,-./ !"#$%&'()*+,-./0)Used for random generation of functions. 1$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  1. 2+Random generation and shrinking of values. 3*A generator for values of the given type. 45Produces a (possibly) empty list of all the possible ' immediate shrinks of the given value. 56EGenerates an integral number. The number can be positive or negative ? and its maximum absolute value depends on the size parameter. 7FGenerates a fractional number. The number can be positive or negative ? and its maximum absolute value depends on the size parameter. 8BGenerates an integral number. The number is chosen uniformly from 3 the entire range of the type. You may want to use  : instead. 97Generates an element of a bounded type. The element is + chosen from the entire range of the type. :BGenerates 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. ;$Returns no shrinking alternatives. <Shrink an integral number. =Shrink a fraction. >=Combine two generator perturbing functions, for example the  results of calls to   or 1. ?A 1& implementation for integral numbers. @A 1" implementation for real numbers. A1 helper for lazy people :-). B$Generates a list of a given length. C-Generates an ordered list of a given length. 0123456789:;<=>?@ABC2340168:79;5<=>?@ABC0112343456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUDEFGHIJKLMNOPQRSTUSTUPQRMNOJKLGHIDEFDEFEFGHIHIJKLKLMNONOPQRQRSTUTUVWXY Shrinking _ x3: allows for maintaining a state during shrinking. Z[ Smart _ x*: tries a different order when shrinking. \] Shrink2 x=: allows 2 shrinking steps at the same time when shrinking x ^_ NonNegative x: guarantees that x >= 0. `a NonZero x: guarantees that x /= 0. bc Positive x: guarantees that x > 0. de NonEmpty xs#: guarantees that xs is non-empty. fg Ordered xs!: guarantees that xs is ordered. hiFixed x : as x, but will not be shrunk. jkBlind x): as x, but x does not have to be in the  class. lVWXYZ[\]^_`abcdefghijklklijghefcdab_`[\]^YZVWXVWXWXYZZ[\\]^^_``abbcddeffghhijjkll@mThe result of a single test. no+result of the test case; Nothing = discard p6indicates what the expected result of the property is q%a message indicating what went wrong r8indicates if the test case was cancelled by pressing ^C s(the collected values for this test case t!the callbacks for this test case uvNot affected by the  combinator wAffected by the  combinator xDifferent kinds of callbacks y(Called with the final failing test-case zCalled just after a test {|}~FThe class of things which can be tested, i.e. turned into a property. Do I/=O inside a property. This can obviously lead to unrepeatable  testcases, so use with care. 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. 4-like function. The original argument .Disables shrinking for a property altogether. Adds a callback @Prints a message to the terminal as part of the counterexample.  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. EPrints out the generated testcase every time the property is tested,  like  verboseCheck from QuickCheck 1.  Only variables quantified over inside the  are printed. 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. @mnopqrstuvwxyz{|}~@~{}|xzyuwvmnopqrst@mnopqrstnopqrstuwvvwxzyyz{}||}~)"Result represents the test result /number of successful shrinking steps performed what seed was used what was the test size what was the reason number of tests performed 9labels and frequencies found during all successful tests printed output 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 whether to print anything 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. HTests a property and prints the results and all test cases generated to stdout. < This is just a convenience function that means the same as   . _Tests a property, using test arguments, and prints the results and all test cases generated to stdout. 3 This is just a convenience function that combines  and . aTests a property, produces a test result, and prints the results and all test cases generated to stdout. 3 This is just a convenience function that combines  and . wTests a property, using test arguments, produces a test result, and prints the results and all test cases generated to stdout. 3 This is just a convenience function that combines  and . )2)         r !"#$%&'()*+,-./012346789:;<=>?@ABCVWXYZ[\]^_`abcdefghijkl~{!"#$'()*+,-./BC&%2340167:89;<= >?@Aklijghefcdab_`[\]^YZVWX~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRRSTTUVVWXXYZZ[\\]^_`aabbccddeeffghijkkllmnopqrstuvwxyz{|}~mq          m                     QuickCheck-2.4Test.QuickCheck.TextTest.QuickCheck.StateTest.QuickCheck.GenTest.QuickCheck.ArbitraryTest.QuickCheck.PolyTest.QuickCheck.ModifiersTest.QuickCheck.PropertyTest.QuickCheck.TestTest.QuickCheck.FunctionTest.QuickCheck.MonadicTest.QuickCheck.AllTest.QuickCheck.ExceptionTest.QuickCheckTerminalStrMkStrrangesnumbershortshowErrbold newTerminalnewStdioTerminalnewNullTerminalterminalOutputhandleputPartputTempputLineStateMkStateterminalmaxSuccessTestsmaxDiscardedTests computeSizenumSuccessTestsnumDiscardedTests collectedexpectedFailure randomSeednumSuccessShrinks numTryShrinksGenMkGenunGenvariantsizedresizechoosepromotesample'samplesuchThat suchThatMaybeoneof frequencyelementsgrowingElementslistOflistOf1vectorOf CoArbitrary coarbitrary Arbitrary arbitraryshrink shrinkListarbitrarySizedIntegralarbitrarySizedFractionalarbitraryBoundedIntegralarbitraryBoundedRandomarbitrarySizedBoundedIntegral shrinkNothingshrinkIntegralshrinkRealFrac><coarbitraryIntegralcoarbitraryRealcoarbitraryShowvector orderedListOrdCunOrdCOrdBunOrdBOrdAunOrdACunCBunBAunA ShrinkState shrinkInit shrinkState ShrinkingSmartShrink2 NonNegativeNonZeroPositive NonEmptyListNonEmpty OrderedListOrderedFixedBlindResultMkResultokexpectreason interruptedstamp callbacks CallbackKindNotCounterexampleCounterexampleCallbackPostFinalFailurePostTestRoseIORoseMkRosePropMkPropunPropTestablepropertyPropertymorallyDubiousIOPropertyprotectioRosejoinRose reduceRoseonRose protectRoseprotectResultsresult exception protectResult succeededfailedrejectedliftBool mapResultmapTotalResult mapRoseResultmapPropmapSize shrinking noShrinkingcallback printTestCasewhenFail whenFail'verbose expectFailurelabelcollectclassifycover==>withinforAll forAllShrink.&..&&.conjoin.||.disjoinNoExpectedFailureFailure numShrinksusedSeedusedSizeGaveUpSuccessnumTestslabelsoutputArgsreplay maxSuccess maxDiscardmaxSizechatty isSuccessstdArgs quickCheckquickCheckWithquickCheckResultquickCheckWithResult verboseCheckverboseCheckWithverboseCheckResultverboseCheckWithResulttest doneTestinggiveUprunATestsummarysuccess foundFailurelocalMin localMin' localMinFoundcallbackPostTestcallbackPostFinalFailureFunFunctionfunction:-> functionMap functionShowapply PropertyM MkPropertyM unPropertyMstopassertprerunpickwpforAllMmonitormonadicmonadic' monadicIO monadicSTrunSTGenpolyQuickCheckmonoforAllProperties quickCheckAll AnException tryEvaluate tryEvaluateIO isInterruptOutput MkTerminalputgetflushpostponebaseGHC.ShowShowghc-prim GHC.TypesIOGHC.BoolFalseGHC.Base.StepsFailStepMapTableNilUnit:+:Pair showFunctionabstracttable# defaultSteps defaultResult shrinkFunmkFunErrorinfoTypedeconstructType monomorphiserunQuickCheckAll