test-check

kenny 2020-08-04T22:25:53.109400Z

Is there a facility for writing a generator that generates the next value based on the previous? e.g., similar to iterate

2020-08-04T22:27:57.110600Z

Generators aren't meant to be aware of previously generated values. If this is part of a larger structure, you could describe that and there might be another way

kenny 2020-08-04T22:30:24.111600Z

The objective is to generate a seq of dates increasing over time separated by a bounded, random amount of time.

kenny 2020-08-04T22:30:57.112200Z

Trying to generate data that imitates what actual data will look like.

2020-08-04T22:31:54.113400Z

Generate the start date and the increments, and then fmap the result to get what you're describing

👍 1