Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-17 Thread Duncan Coutts
On 17 September 2010 04:44, Peter Schmitz ps.hask...@gmail.com wrote: This gets a little hilarious (but better to laugh than cry). Well, I decided to try Parsec version 3 (i.e., 3.1.0) after all [...] I did cabal upgrade parsec, which went great. [...] (This is where I began laughing

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-17 Thread Peter Schmitz
Ivan, Duncan, Thank you both very much for your kind help and comments. I'm really impressed with the quality of help at Haskell Cafe, and Cabal really has worked great for me; I'll just avoid upgrade in the future. Anyone: So, to get a clean start with my library situation I will delete my

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-16 Thread Ben Millwood
On Thu, Sep 16, 2010 at 4:00 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Because Parsec-3 apparently still has some speed regressions compared to Parsec-2 (I'm not qualified to note whether its design is slow or if you have to use it differently to get good performance out of

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-16 Thread Peter Schmitz
This gets a little hilarious (but better to laugh than cry). Well, I decided to try Parsec version 3 (i.e., 3.1.0) after all, and edited my cabal config to include: preference: parsec = 3 I did not include base = 4; hope that is not a problem. I did cabal upgrade parsec, which went great. It

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-16 Thread Ivan Lazar Miljenovic
Run ghc-pkg check, and do a cabal install --reinstall for all packages that it says need to be rebuilt at the bottom. On 17 September 2010 13:44, Peter Schmitz ps.hask...@gmail.com wrote: This gets a little hilarious (but better to laugh than cry). Well, I decided to try Parsec version 3

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-16 Thread Ivan Lazar Miljenovic
On 17 September 2010 13:52, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Run ghc-pkg check, and do a cabal install --reinstall for all packages that it says need to be rebuilt at the bottom. Actually, I just re-read your post and you seem to have bigger problems... The cause of the

[Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Peter Schmitz
Not that I'm having any problem with parsec 2.1.0.1, but I guess I would like to install the latest (3.1.0), unless there is a reason not to. I can't seem to get Cabal to do so; thanks in advance for any help. I don't understand part of the output from cabal install --dry-run --reinstall -v

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Thomas DuBuisson
Parsec 3 is unloved by much of the community because it's evidently slower than parsec 2. For this reason the community remains divided over the two versions and cabal has special preferred versions of particular packages. To force installation of parsec 3, over the preferred parsec 2, you

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Ivan Lazar Miljenovic
On 16 September 2010 12:47, Peter Schmitz ps.hask...@gmail.com wrote: Not that I'm having any problem with parsec 2.1.0.1, but I guess I would like to install the latest (3.1.0), unless there is a reason not to. Because Parsec-3 apparently still has some speed regressions compared to Parsec-2

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Peter Schmitz
Thomas, Ivan, Thanks much for the info. -- Peter On Wed, Sep 15, 2010 at 8:00 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 16 September 2010 12:47, Peter Schmitz ps.hask...@gmail.com wrote: Not that I'm having any problem with parsec 2.1.0.1, but I guess I would like to

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Jason Dagit
On Wed, Sep 15, 2010 at 7:47 PM, Peter Schmitz ps.hask...@gmail.com wrote: Not that I'm having any problem with parsec 2.1.0.1, but I guess I would like to install the latest (3.1.0), unless there is a reason not to. I can't seem to get Cabal to do so; thanks in advance for any help. I

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Peter Schmitz
Jason, Thank you for the insights into Cabal. I am new to Parsec, and relatively new to Cabal, and was not aware of the info that you (and Thomas and Ivan) posted. Great help; thanks again. I will probably stick with Cabal's default for the time being because I don't have a compelling reason not

Re: [Haskell-cafe] Curious why cabal upgrade parsec not installing latest version

2010-09-15 Thread Ivan Lazar Miljenovic
On 16 September 2010 13:52, Peter Schmitz ps.hask...@gmail.com wrote: I will probably stick with Cabal's default for the time being because I don't have a compelling reason not to, but it's good to know how Cabal works. Well, despite having a compatability API, Parsec-3 also has a completely