eigengo/hwsexp — pull request #5 by janm399 (2014-01-08 14:12:08+00:00)
Title: Repetitions working

The ``runGenerator``'s now expects an operation that will be executed on every step.

```haskell
newtype Generator a b = Generator {
-- |Performs the generator step
runGenerator :: GeneratorDelay
-> (a -> IO b)
-> IO b
}
```

It executes the operation ``(a -> IO b)`` in every step, as many times as the expression calls for. It ultimately the final value ``b``.