[Haskell-cafe] Using ShowS or Difference Lists
Bas van Dijk
v.dijk.bas at gmail.com
Mon Feb 8 18:45:47 EST 2010
On Sat, Feb 6, 2010 at 1:42 PM, Mark Spezzano
<mark.spezzano at 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. A DString is just a newtype wrapper around a difference
list. It has an instance for IsString so you can create them by
writing string literals.
More information about the Haskell-Cafe