Re: [Haskell] Can we do better than duplicate APIs? [was: Data.CompactString 0.3]

2007-03-23 Thread Jean-Philippe Bernardy
Hi, Please look at http://darcs.haskell.org/packages/collections/doc/html/Data-Collections.html for an effort to make most common operation on bulk types fit in a single framework. Also, we expect indexed types to solve, or at least alleviate, some problems you mention in your "rant". http://ha

Re: [Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread S. Alexander Jacobson
I think the LANGUAGE pragma is better than the OPTIONS_GHC pragma but I am relatively indifferent on that issue. My only point is that module authors should put this information in the module source rather than in the build system. -Alex- On Fri, 23 Mar 2007, Alec Berryman wrote: S. Alexan

Re: [Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread kahl
"S. Alexander Jacobson" <[EMAIL PROTECTED]> wrote: > The correct answer, I believe, is to require that module authors put > flags in the module themselves where they belong. At very least it > should be considred bad style not to have them in your code and really > what would make more sen

[Haskell] Can we do better than duplicate APIs? [was: Data.CompactString 0.3]

2007-03-23 Thread Benjamin Franksen
[sorry for the somewhat longer rant, you may want to skip to the more technical questions at the end of the post] Twan van Laarhoven wrote: > I would like to announce version 0.3 of my Data.CompactString library. > Data.CompactString is a wrapper around Data.ByteString that represents a > Unicod

Re: [Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread Alec Berryman
S. Alexander Jacobson on 2007-03-23 17:16:26 -0400: > The correct answer, I believe, is to require that module authors put > flags in the module themselves where they belong. Does the OPTIONS_GHC pragma solve your issue? http://www.haskell.org/ghc/docs/latest/html/users_guide/using-ghc.html#sour

[Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread S. Alexander Jacobson
In theory, Haskell modules should contain all information necessary to interpret/compile them properly. In practice, many modules don't because their authors are flagging required language extensions in build systems rather than in module sources. This practice causes problems because then it

[Haskell] Last chance to join the Summer of Code!

2007-03-23 Thread Malcolm Wallace
Haskell.org is currently looking rather short of student proposals for Summer of Code 2007 compared to last year. If you haven't yet thought about submitting an application, why not consider it now? You could be paid $4500 for three months work June-Aug! Apparently, the more proposals we get, th