concerned issues https://github.com/purescript/purescript/issues/3662 https://github.com/purescript-python/purescript-python/issues/21#issuecomment-643741406 @Hong-Xiang when you have time, please give some comments about `codeUnits` issues which occurred while you was writing tests for `purescript-quickcheck`.
Activity
Hong-Xiang commentedon Jun 19, 2020
I suggest checking unit tests for
purescript-stringsmay be more clear forcodePointsissues, it seemscodeUnitspassed tests.Related code
The error happens in runnning
import Test.Data.String.CodePoints (testStringCodePoints), which locates here in original purescript-strings repo.Details about test case
in test case, the test string is defined as
and tests is accessing it by index, with native python's
strimplemetation, when accessing it with index1as the following test caseThe results is