|
1 | 1 | # 1.3.0 |
2 | 2 |
|
3 | | -* Move `thawGen` from `FreezeGen` into the new `ThawGen` type class. Fixes an issue with |
4 | | - an unlawful instance of `StateGen` for `FreezeGen`. |
5 | | -* Add `modifyGen` and `overwriteGen` to the `FrozenGen` type class |
6 | | -* Add `splitGen` and `splitMutableGen` |
7 | | -* Switch `randomM` and `randomRM` to use `FrozenGen` instead of `RandomGenM` |
8 | | -* Deprecate `RandomGenM` in favor of a more powerful `FrozenGen` |
| 3 | +* Add compatibility with recently added `ByteArray` to `base`: |
| 4 | + [#153](https://github.com/haskell/random/pull/153) |
| 5 | + * Switch to using `ByteArray` for type class implementation instead of |
| 6 | + `ShortByteString` |
| 7 | + * Add `unsafeUniformFillMutableByteArray` to `RandomGen` and a helper function |
| 8 | + `defaultUnsafeUniformFillMutableByteArray` that makes implementation |
| 9 | + for most instances easier. |
| 10 | + * Add `uniformByteArray`, `uniformByteString` and `uniformFillMutableByteArray` |
| 11 | + * Add `uniformByteArrayM` to `StatefulGen` |
| 12 | + * Add `uniformByteStringM` and `uniformShortByteStringM` |
| 13 | + * Deprecate `uniformShortByteString` in favor of `uniformShortByteStringM` for |
| 14 | + consistent naming and a future plan of removing it from `StatefulGen` |
| 15 | + type class |
| 16 | + * Expose a helper function `genByteArrayST`, that can be used for |
| 17 | + defining implementation for `uniformByteArrayM` |
| 18 | +* Improve `FrozenGen` interface: [#149](https://github.com/haskell/random/pull/149) |
| 19 | + * Move `thawGen` from `FreezeGen` into the new `ThawGen` type class. Fixes an issue with |
| 20 | + an unlawful instance of `StateGen` for `FreezeGen`. |
| 21 | + * Add `modifyGen` and `overwriteGen` to the `FrozenGen` type class |
| 22 | + * Add `splitGen` and `splitMutableGen` |
| 23 | + * Switch `randomM` and `randomRM` to use `FrozenGen` instead of `RandomGenM` |
| 24 | + * Deprecate `RandomGenM` in favor of a more powerful `FrozenGen` |
9 | 25 | * Add `isInRange` to `UniformRange`: [#78](https://github.com/haskell/random/pull/78) |
10 | 26 | * Add default implementation for `uniformRM` using `Generics`: |
11 | 27 | [#92](https://github.com/haskell/random/pull/92) |
|
0 commit comments