packages with orphaned instances only
lennart at augustsson.net
Sat Jan 8 22:45:03 CET 2011
Then you should use a custom generator and not Arbitrary.
On Sat, Jan 8, 2011 at 9:39 PM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:
> On 9 January 2011 07:20, Henning Thielemann
> <lemming at henning-thielemann.de> wrote:
> > If there are multiple equally natural instances, then there should not
> > be one at all.
> It depends what you mean. In my case, I wanted the String instance
> for Arbitrary to follow certain rules (can't be the textual
> representation of a number, can't have certain characters in it,
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> Libraries mailing list
> Libraries at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries