Changeset 30551 in project


Ignore:
Timestamp:
03/10/14 19:16:57 (7 years ago)
Author:
certainty
Message:

data-generators: added docs for gen-sample and gen-sample-of

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/data-generators

    r30550 r30551  
    183183<procedure>(gen-bool)</procedure>
    184184Generator for a random boolean value
     185
     186<procedure>(gen-sample candidates)</procedure>
     187Generator that draws a random sample from the list of '''candidates'''.
    185188 
    186189
     
    194197Generator for a pair where the car is generated with '''car-gen''' and the cdr is generated with with '''cdr-gen'''.
    195198
    196 <procedure>(gen-sample-of candidates)</procedure>
    197 Generator that draws a random sample from the list of possible values
     199<procedure>(gen-sample-of . gens)</procedure>
     200Generator that draws a random generator from the list of possible generators and invokes it once.
    198201
    199202<procedure>(gen-tuple-of . gens)</procedure>
Note: See TracChangeset for help on using the changeset viewer.