how to convert from lazy text to non-lazy text?
i am new to Haskell so this may be a trivial problem. I am seeing an error message that says
<code><pre>
Couldn't match expected type 'Data.Text.Lazy.Internal.Text'
with actual type 'Text'
</pre></code>
and I think the problem is that the actual type is <code>Data.Text.Text</code> and it expects lazy text. how can I convert one to the other?
how to convert from lazy text to non-lazy text?
===

i am new to Haskell so this may be a trivial problem. I am seeing an error message that says
<code><pre>
Couldn't match expected type 'Data.Text.Lazy.Internal.Text'
with actual type 'Text'
</pre></code>
and I think the problem is that the actual type is <code>Data.Text.Text</code> and it expects lazy text. how can I convert one to the other?