Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based

Breaking changes:
- Migrate FFI to ES modules (#130 by @kl0tl and @JordanMartinez)
- Replaced polymorphic proxies with monomorphic `Proxy` (#132 by @JordanMartinez)
- Make `frequency` use `NonEmptyArray` (#131 by @JordanMartinez)

Now `oneOf` and `frequency` both use `NonEmptyArray` rather than `NonEmptyList`.
Expand Down
2 changes: 1 addition & 1 deletion src/Test/QuickCheck/Arbitrary.purs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ genericCoarbitrary x = coarbitrary (from x)
-- | A helper typeclass to implement `Arbitrary` for records.
class ArbitraryRowList :: RL.RowList Type -> Row Type -> Constraint
class ArbitraryRowList list row | list -> row where
arbitraryRecord :: forall rlproxy. rlproxy list -> Gen (Record row)
arbitraryRecord :: Proxy list -> Gen (Record row)

instance arbitraryRowListNil :: ArbitraryRowList RL.Nil () where
arbitraryRecord _ = pure {}
Expand Down