Why QuickCheck's Char value is limited to ASCII characters only?

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.

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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
participants (2)
-
Birmjin In
-
Simon Jakobi