Re: [Haskell-cafe] Bytestrings vs String? parameters within package names?

2009-02-03 Thread Marc Weber
On Mon, Feb 02, 2009 at 10:41:57PM -0500, wren ng thornton wrote: > Marc Weber wrote: > > Should there be two versions? > > hslogger-bytestring and hslogger-string? > > I'd just stick with one (with a module for hiding the conversions, as > desired). Duplicating the code introduces too much ro

Re: [Haskell-cafe] Bytestrings vs String? parameters within package names?

2009-02-03 Thread John Goerzen
Marc Weber wrote: > On Mon, Feb 02, 2009 at 10:41:57PM -0500, wren ng thornton wrote: >> Marc Weber wrote: >>> Should there be two versions? >>> hslogger-bytestring and hslogger-string? >> I'd just stick with one (with a module for hiding the conversions, as >> desired). Duplicating the code in

Re: [Haskell-cafe] Bytestrings vs String? parameters within package names?

2009-02-03 Thread wren ng thornton
Marc Weber wrote: wren ng thornton wrote: > I'd just stick with one (with a module for hiding the conversions, as > desired). Duplicating the code introduces too much room for maintenance and > compatibility issues. > > That's the big thing. The more people that use ByteStrings the less ne

Re: [Haskell-cafe] Bytestrings vs String? parameters within package names?

2009-02-05 Thread Henning Thielemann
--- Begin Message --- Marc Weber wrote: the cabal file: flag bytestring Default: False Description: enable this to use Bytestrings everywhere instead of strings [... now libs and executables: ...] if flag(bytestring) cpp-options: -DUSE_BYTESTRING No, it's a very