Today's programming challenge - How's your Range-Fu ?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 17 12:44:41 PDT 2015


On Fri, 17 Apr 2015 11:17:30 -0700, H. S. Teoh via Digitalmars-d wrote:

> Well, talk is cheap, so here's a working implementation of the
> non-Unicode-correct line wrapper that uses ranges and does not allocate:

there is some... inconsistency: `std.string.wrap` adds final "\n" to 
string. ;-) but i always hated it for that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150417/cdf34147/attachment.sig>


More information about the Digitalmars-d mailing list