[Haskell-cafe] Efficient use of ByteString and type classes in template system