Pick random element: Difference between revisions
Content deleted Content added
Line 366:
<lang haskell>import Test.QuickCheck (generate, elements)
x <- (generate . elements) [1, 2, 3]</lang>
|
Line 366:
<lang haskell>import Test.QuickCheck (generate, elements)
x <- (generate . elements) [1, 2, 3]</lang>
|