haskell / random

Random number library
Other
53 stars 50 forks source link

Split out core functionality of `random` into new `random-core` package #157

Open lehins opened 7 months ago

lehins commented 7 months ago

As it was discussed in https://github.com/haskell/random/issues/156#issuecomment-1889812810 and https://github.com/haskell/random/issues/156#issuecomment-1889868874 we should split out the core functionality of random out into a new random-core package, which would be the direct dependency of QuickCheck, thus allowing for easy testing of boot packages like bytestring without creating circular dependencies.

This would allow us to not only provide Uniform and UniformRange instances for more types from boot libraries, but would allow us to expend the interface to generating random data structures (eg, containers, array, etc.)