<div class="gmail_quote">On Fri, Apr 30, 2010 at 5:09 PM, Daniel Fischer <span dir="ltr">&lt;<a href="mailto:daniel.is.fischer@web.de">daniel.is.fischer@web.de</a>&gt;</span> wrote:</div><div class="gmail_quote">&gt; and how can I get from internal type to regular type when using<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
&gt; Data.Text?<br>
<br>
</div>Use id :: a -&gt; a<br>
;)<br>
<div class="im"><br></div></blockquote><div>Not quite, there is still a distinction between Data.Text(.Internal).Text and Data.Text.Lazy(.Internal).Text.</div><div><br></div><div>but the machinery to work with the results he gets back are found in Data.Text.Lazy including the functions to turn it into a list of strict Text fragments.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
&gt;<br>
&gt; also the internal type doesn&#39;t appear to be reflected in the haddock:<br>
&gt;<br>
&gt; <a href="http://hackage.haskell.org/packages/archive/text/0.7.1.0/doc/html/Data-T" target="_blank">http://hackage.haskell.org/packages/archive/text/0.7.1.0/doc/html/Data-T</a><br>
&gt;ext-Lazy-IO.html<br>
<br>
</div>Follow the &#39;Source&#39; link at Data.Text.Lazy.Text, that sends you to<br>
<a href="http://hackage.haskell.org/packages/archive/text/0.7.1.0/doc/html/src/Data-
Text-Lazy-Internal.html#Text" target="_blank">http://hackage.haskell.org/packages/archive/text/0.7.1.0/doc/html/src/Data-<br>
Text-Lazy-Internal.html#Text</a><br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; ghc-pkg list | grep -i text<br>
&gt;     text-0.7.1.0<br>
&gt;<br>
&gt; thanks for any help!<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>