On 5/2/14, Malthe Borch <mbo...@gmail.com> wrote: > On 2 May 2014 00:06, Tony Arcieri <basc...@gmail.com> wrote: >> This sounds like the exact same painful failure mode as Ruby (transcoding >> blowing up at completely unexpected times) with even more complexity, >> making >> it even harder to debug. > > Here is a concrete example of when this would blow up: > > 1. You have a rope with non-ascii characters. > 2. You attempt to "encode" into "ascii". > >
I don't think this is the structure he is talking about. I think something heavier that contains the encoding type and some sort of reference to the next set of chars which may have a different encoding. . . works well with dependent types. Ben _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev