[QuickCheck] QuickCheck request - Gen newtype constructors not exported by top level module

Mitchell Rosen mitchellwrosen at gmail.com
Tue Oct 8 18:25:35 BST 2013


The Gen newtype should probably have its constructors exported by the top
level module. Right now, from just looking at the top level documentation,
a Gen looks like a "data" with no exported constructors. This is pretty
confusing, because all hyperlinks from the top level module also resolve to
this type. You can only see that a Gen is nothing more than a newtype if
you make your way to the Test.QuickCheck.Gen module.

Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/quickcheck/attachments/20131008/ec61b4ba/attachment.htm>


More information about the QuickCheck mailing list