[Haskell-beginners] Why QuickCheck's Char value is limited to ASCII characters only?

Simon Jakobi simon.jakobi at googlemail.com
Fri Oct 14 11:12:54 UTC 2016


You'll be interested in the discussion on this PR:
https://github.com/nick8325/quickcheck/pull/119

2016-10-14 10:39 GMT+02:00 Birmjin In <yinbirmjin at gmail.com>:

> Hi,
>
> I found that the Arbitrary instance for the Char type generates only
> ASCII values while Char type represent Unicode characters.
>
> I can't figure out why it has such a limit. Not knowing this pitfall, one
> can misjudge the test results.
>
> Is this intended thing or just not being implemented yet?
>
> Thanks.
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161014/e834421d/attachment.html>


More information about the Beginners mailing list