Skip to content

frequency uses NonEmptyList, oneOf uses NonEmptyArray  #128

Closed
@drathier

Description

@drathier

It's a real road-bump that these two don't accept the same type. Switching from oneOf to frequency shouldn't require me to add a new import and use a different list type.

https://github.com/purescript/purescript-quickcheck/blob/v7.1.0/src/Test/QuickCheck/Gen.purs#L158-L166

Metadata

Metadata

Assignees

No one assigned

    Labels

    purs-0.15A reminder to address this issue or merge this PR before we release PureScript v0.15.0type: breaking changeA change that requires a major version bump.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions