haskell / haskell/random

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

Open
#157 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
59
Forks
56
PR merge metrics
No merged PRs in 30d

Description

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.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked discussion in issue 156 to understand the proposed package boundary and dependency constraints. Identify the core functionality to move from random into random-core, then verify that QuickCheck can depend on it directly and that the package supports the intended boot-library instances and future data-structure generators.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.