
8 Mar
2012
8 Mar
'12
6:59 a.m.
On Thu, Mar 08, 2012 at 12:37:31PM +0100, Yves Parès wrote:
If you just need to go back and forth from String to Text, why do you need to be generic? pack and unpack from Data.Text do the job.
Always going through String or Text may (depending on what your underlying representation is) be less efficient than converting directly to String/Text. Cheers, Simon