test-check

johanatan 2017-04-04T20:44:27.378294Z

hi, is there an equivalent of listOfN? list-distinct comes close (with its :num-elements param) but I don't want to forbid duplicates.

johanatan 2017-04-04T20:45:01.388636Z

also, is there a function to convert a list of generators to a generator of a list?

johanatan 2017-04-04T20:45:34.399071Z

i suppose apply gen/tuple could do the latter

johanatan 2017-04-04T21:01:45.705981Z

actually yes apply gen/tuple definitely answers my second question

2017-04-04T22:00:52.646843Z

@johanatan gen/vector can do it too.

johanatan 2017-04-04T22:12:00.792187Z

@gfredericks what about listOfN?

2017-04-04T22:15:12.832033Z

@johanatan does that mean a fixed length list? That's what I'm saying gen/vector can do, if you pass a length arg

johanatan 2017-04-04T22:49:45.232090Z

Oh I see. Yes a fixed length list

johanatan 2017-04-04T22:49:48.232551Z

Thx!