On Sat, Feb 6, 2010 at 1:42 PM, Mark Spezzano <mark.spezz...@chariot.net.au> wrote: > Just wondering whether I can use ShowS or tupling or Difference Lists to > speed up the following code?...
In case you do want to use a difference list, you could also use a DString[1]. A DString is just a newtype wrapper around a difference list. It has an instance for IsString[2] so you can create them by writing string literals. regards, Bas [1] http://hackage.haskell.org/package/dstring [2] http://hackage.haskell.org/packages/archive/base/4.2.0.0/doc/html/Data-String.html _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe