Please help beta test no-reinstall Cabal (was: Cabal and simultaneous installations of the same package)

2015-08-29 Thread Herbert Valerio Riedel
Good news, everyone! ...you may be interested to know this has finally come to fruition (just in time for HIW): http://blog.ezyang.com/2015/08/help-us-beta-test-no-reinstall-cabal/ Cheers, hvr On 2015-03-23 at 09:45:48 +0100, Simon Peyton Jones wrote: Dear Cabal developers You'll

Re: Cabal and simultaneous installations of the same package

2015-06-05 Thread Edward Z. Yang
But if multiple versions of the same library can be linked into one binary, then the binary sizes will increase and therefore the memory usage might increase and even performance might decrease a bit if the number of cache misses increase. This is not in the current proposal. GHC knows how

RE: QRE: Cabal and simultaneous installations of the same package

2015-05-12 Thread Simon Peyton Jones
: Boespflug, Mathieu; Gershom B; Mikhail Glushenkov; Duncan Coutts (dun...@well-typed.com); Ryan Trinkle; haskell-infrastruct...@community.galois.com; cabal-de...@haskell.org; ghc-devs@haskell.org; Haskell Libraries Subject: Re: QRE: Cabal and simultaneous installations of the same package Yes

RE: QRE: Cabal and simultaneous installations of the same package

2015-05-12 Thread Simon Peyton Jones
Coutts (dun...@well-typed.com); Ryan Trinkle; haskell-infrastruct...@community.galois.com; cabal-de...@haskell.org; ghc-devs@haskell.org; Haskell Libraries Subject: Re: QRE: Cabal and simultaneous installations of the same package Thanks. I will start working on it soon. Currently I am having

RE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Simon Peyton Jones
...@haskell.org; Haskell Libraries; ghc-devs@haskell.org Subject: Re: Cabal and simultaneous installations of the same package For the info of all, here is the proposal: https://gist.github.com/fugyk/37510958b52589737274 The mentors are Ryan Trinkle and Thomas Tuegel. Hopefully as the project

Re: Cabal and simultaneous installations of the same package

2015-05-11 Thread Daniel Trstenjak
Hi Simon, It is tantalising to me that something so critical has been so long delayed. It’d be fantastic if it was done this summer. I'm just wondering what kind of negative side effects it might have. Sure, it will - most likely - make installing of cabal packages a lot easier, especially

QRE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Simon Peyton Jones
; Mikhail Glushenkov; Duncan Coutts (duncan@well- | typed.com); Ryan Trinkle; haskell-infrastruct...@community.galois.com; | cabal-de...@haskell.org; ghc-devs@haskell.org; Vishal Agrawal; Haskell | Libraries | Subject: Re: Cabal and simultaneous installations of the same package | | | Hi Simon

Re: QRE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Daniel Trstenjak
Hi Simon, On Mon, May 11, 2015 at 11:27:58AM +, Simon Peyton Jones wrote: Well, no one is actually suggesting that! But you're just getting it automatically if you're depending e.g. on the libraries A and B, and A depends on C 1.0 and B depends on C 2.0. Currently you can't build this

Re: QRE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Boespflug, Mathieu
As I think Simon was saying earlier, think of this feature as allowing strictly more installation plans to succeed, while still keeping to the exact same model that we use today of just one instance of a lib in any given binary. Currently, if you install B-0.1 and then install A-2.0 that has a

Re: QRE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Daniel Trstenjak
On Mon, May 11, 2015 at 05:42:00PM +0200, Boespflug, Mathieu wrote: In your example, an app wouldn't get both C 1.0 and 2.0. It would get whichever one of those fits the constraints of both A and B, or the build will fail if no such C exists. Thanks for the clarification! I thought this

RE: QRE: Cabal and simultaneous installations of the same package

2015-05-11 Thread Simon Peyton Jones
Peyton Jones; Gershom B; Mikhail Glushenkov; Duncan Coutts (dun...@well-typed.com); Ryan Trinkle; haskell-infrastruct...@community.galois.com; cabal-de...@haskell.org; ghc-devs@haskell.org; Vishal Agrawal; Haskell Libraries Subject: Re: QRE: Cabal and simultaneous installations of the same

Re: Cabal and simultaneous installations of the same package

2015-05-07 Thread Mikhail Glushenkov
On 7 May 2015 at 22:34, Simon Peyton Jones simo...@microsoft.com wrote: Dear Cabal developers I guess everyone is busy, but I feel a bit stuck on knowing how to make progress on this thread. Vishal Agrawal's GSoC proposal has been accepted. I guess we'll have to wait and see what comes out of

RE: Cabal and simultaneous installations of the same package

2015-05-07 Thread Simon Peyton Jones
Libraries; ghc-devs@haskell.org Subject: RE: Cabal and simultaneous installations of the same package Friends We started this thread (below) a month ago, but it has once more run out of steam. The last contribution was from Vishal Agrawal I am already planning to do a GSoC project based

Re: Cabal and simultaneous installations of the same package

2015-05-07 Thread Gershom B
For the info of all, here is the proposal: https://gist.github.com/fugyk/37510958b52589737274 The mentors are Ryan Trinkle and Thomas Tuegel. Hopefully as the project proceeds, Vishal will be checking in with us, asking questions and seeking clarification where necessary, etc. --Gershom On

RE: Cabal and simultaneous installations of the same package

2015-04-20 Thread Simon Peyton Jones
...@community.galois.com; Haskell Libraries; ghc- | d...@haskell.org | Subject: Cabal and simultaneous installations of the same package | | Dear Cabal developers | | You'll probably have seen the thread about the Haskell Platform. | | Among other things, this point arose: | | | Another

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Johan Tibell
On Mon, Mar 23, 2015 at 9:45 AM, Simon Peyton Jones simo...@microsoft.com wrote: But time has passed and it hasn't happened. Is this because I'm misunderstanding? Or because it is harder than I think? Or because there are much bigger problems? Or because there is insufficient effort

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Michael Snoyman
On Mon, Mar 23, 2015 at 11:53 AM Simon Peyton Jones simo...@microsoft.com wrote: It's already a huge source of confusion for people using GHCi what they get messages about ByteString is not ByteString. Reading your blog post [1] it seems that we are addressing different questions: ·

RE: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
Tibell [mailto:johan.tib...@gmail.com] Sent: 23 March 2015 15:05 To: Simon Peyton Jones Cc: cabal-de...@haskell.org; haskell-platf...@projects.haskell.org; haskell-infrastruct...@community.galois.com; Haskell Libraries; ghc-devs@haskell.org; Edward Yang Subject: Re: Cabal and simultaneous installations

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
To: Simon Peyton Jones Cc: cabal-de...@haskell.org; haskell-platf...@projects.haskell.org; haskell-infrastruct...@community.galois.com; Haskell Libraries; ghc-devs@haskell.org Subject: Re: Cabal and simultaneous installations of the same package On Mon, Mar 23, 2015 at 4:45 AM, Simon Peyton Jones simo

RE: Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
To: Simon Peyton Jones; cabal-de...@haskell.org Cc: haskell-platf...@projects.haskell.org; haskell-infrastruct...@community.galois.com; Haskell Libraries; ghc-devs@haskell.org Subject: Re: Cabal and simultaneous installations of the same package On Mon, Mar 23, 2015 at 11:53 AM Simon Peyton Jones

Cabal and simultaneous installations of the same package

2015-03-23 Thread Simon Peyton Jones
Dear Cabal developers You'll probably have seen the thread about the Haskell Platform. Among other things, this point arose: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing other packages and versions due to cabal hell. People mean

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 20:13 +, Simon Peyton Jones wrote: But I'm hazy about why sandboxes are needed at all. As I understand it, they were invented to solve the very problem that is now solved (if only Cabal could take advantage of it). Yes, the nix approach would subsume sandboxes. I

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 08:45 +, Simon Peyton Jones wrote: Dear Cabal developers You'll probably have seen the thread about the Haskell Platform. Among other things, this point arose: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Gershom B
On Mon, Mar 23, 2015 at 4:45 AM, Simon Peyton Jones simo...@microsoft.com wrote: | Another thing we should fix is the (now false) impression that HP gets in | the way of installing other packages and versions due to cabal hell. People mean different things by cabal hell, but the inability

Re: Cabal and simultaneous installations of the same package

2015-03-23 Thread Duncan Coutts
On Mon, 2015-03-23 at 22:10 +, Duncan Coutts wrote: On Mon, 2015-03-23 at 20:13 +, Simon Peyton Jones wrote: But I'm hazy about why sandboxes are needed at all. As I understand it, they were invented to solve the very problem that is now solved (if only Cabal could take advantage