Re: [Haskell] Re: Trying to install binary-0.4

2007-10-18 Thread Simon Marlow
Ross Paterson wrote: On Wed, Oct 17, 2007 at 12:54:12PM +0100, Simon Marlow wrote: I've written down the proposed policy for versioning here: http://haskell.org/haskellwiki/Package_versioning_policy It turned out there was a previous page written by Bulat that contained essentially this

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-18 Thread Duncan Coutts
On Wed, 2007-10-17 at 20:28 +0100, Ian Lynagh wrote: On Wed, Oct 17, 2007 at 01:28:45AM +0100, Duncan Coutts wrote: On Wed, 2007-10-17 at 00:35 +0100, Ian Lynagh wrote: might be a type error if I have multiple versions of foo installed and bar and baz have been compiled against different

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-17 Thread Simon Marlow
I've written down the proposed policy for versioning here: http://haskell.org/haskellwiki/Package_versioning_policy It turned out there was a previous page written by Bulat that contained essentially this policy, but it wasn't linked from anywhere which explains why it was overlooked. I

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-17 Thread Ian Lynagh
On Wed, Oct 17, 2007 at 12:54:12PM +0100, Simon Marlow wrote: I've written down the proposed policy for versioning here: http://haskell.org/haskellwiki/Package_versioning_policy This says: If [...] instances were added or removed, then the new A.B must be greater than the previous

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-17 Thread Ian Lynagh
On Wed, Oct 17, 2007 at 01:28:45AM +0100, Duncan Coutts wrote: On Wed, 2007-10-17 at 00:35 +0100, Ian Lynagh wrote: package foo: module Foo where data T package bar: module Bar where bar :: T package baz: module

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-16 Thread Simon Marlow
Several good points have been raised in this thread, and while I might not agree with everything, I think we can all agree on the goal: things shouldn't break so often. So rather than keep replying to individual points, I'd like to make some concrete proposals so we can make progress. 1.

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-16 Thread Simon Marlow
Claus Reinke wrote: - if you provide a 'base' configuration that pulls in the stuff that used to be in base, the package will work I don't know of a way to do that. The name of the package is baked into the object files at compile time, so you can't use the same compiled module in more

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-16 Thread Ross Paterson
On Tue, Oct 16, 2007 at 01:08:49PM +0100, Simon Marlow wrote: So rather than keep replying to individual points, I'd like to make some concrete proposals so we can make progress. 1. Document the version numbering policy. We should have done this earlier, but we didn't. The proposed policy,

Re: [Haskell] Re: Trying to install binary-0.4

2007-10-16 Thread Isaac Dupree
Ross Paterson wrote: I would make API extended only a bit more precise: any module that uses explicit import lists will not be affected by the changes. So one can add classes, types and functions, but not instances (except where either the class or the type is new). okay You probably can't