Skip to content

Commit 9472fbb

Browse files
Fix forall proxy workaround (#132)
* Replace polymorphic proxy with monomorphic one * Add changelog
1 parent bf0b5fb commit 9472fbb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based
66

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

1112
Now `oneOf` and `frequency` both use `NonEmptyArray` rather than `NonEmptyList`.

src/Test/QuickCheck/Arbitrary.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ genericCoarbitrary x = coarbitrary (from x)
279279
-- | A helper typeclass to implement `Arbitrary` for records.
280280
class ArbitraryRowList :: RL.RowList Type -> Row Type -> Constraint
281281
class ArbitraryRowList list row | list -> row where
282-
arbitraryRecord :: forall rlproxy. rlproxy list -> Gen (Record row)
282+
arbitraryRecord :: Proxy list -> Gen (Record row)
283283

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

0 commit comments

Comments
 (0)