
30 Nov
2022
30 Nov
'22
3:39 p.m.
On Wed, 30 Nov 2022, PICCA Frederic-Emmanuel wrote:
Also, you can simplify the "map pure (...)" by using `elements` :)
thanks
another question I have plenty of instance build like this
instance Arbitrary TypeA where arbitrary = TypeA <$> arbitrary <*> arbitrary ... <*> arbitrary
uncurry TypeA <$> arbitrary uncurry3 TypeA <$> arbitrary would be a bit shorter if this is important.