<div class="gmail_quote">On Tue, Sep 7, 2010 at 8:58 PM, Krasimir Angelov <span dir="ltr">&lt;<a href="mailto:kr.angelov@gmail.com">kr.angelov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
</div>Exactly. But it is probably possible to make version of text which<br>
with 6.10 uses some copy of the routines and with 6.12 uses the<br>
routines in base.</blockquote><div><br></div><div>It might be possible, but I am not going to do it :-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
For now at least the API should be made compatible with base.</blockquote><div><br></div><div>I&#39;m afraid not. The TextEncoding type ties encoding and decoding together, when in pure code you need just one or the other. The TextEncoding design is fine for read/write Handles, where you may need both, but it does not make sense for pure code, where the current API provided by text is more appropriate.</div>
</div>