[Issue 13348] std.uni.byGrapheme is impure

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 2 08:48:43 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=13348

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Something doesn't seem right here. byGrapheme is a template function, including
a templated struct. purity should be inferred everywhere here, no?

The code itself seems pretty simple, seems like all the impurity comes from
Grapheme and possibly decodeGrapheme.

--


More information about the Digitalmars-d-bugs mailing list