> and how can I get from internal type to regular type when using
> Data.Text?
Use id :: a -> a
;)
Not quite, there is still a distinction between Data.Text(.Internal).Text and Data.Text.Lazy(.Internal).Text.
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.
Follow the 'Source' link at Data.Text.Lazy.Text, that sends you to
http://hackage.haskell.org/packages/archive/text/0.7.1.0/doc/html/src/Data-
Text-Lazy-Internal.html#Text