[Haskell-cafe] How to create a list of each constructor value

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Wed Nov 30 15:42:20 UTC 2022


>   uncurry TypeA <$> arbitrary
>   uncurry3 TypeA <$> arbitrary
> 
> 
> would be a bit shorter if this is important.

I think that writing less line is better and less error prone.

thanks again

Frederic


More information about the Haskell-Cafe mailing list