Kabbalah fixing problem with quickcheck version

I am trying to install quickcheck 2 via cabal on Ubuntu 10.04. No matter what I try to do, I always get the following:

$ cabal list quickcheck * QuickCheck Synopsis: Automatic testing of Haskell programs Latest version available: 2.1.1.1 Latest version installed: 1.2.0.0 Homepage: http://www.cse.chalmers.se/~koen License: BSD3 

This is on pure Ubuntu 10.04 with ghc6 and cabal-install apt packages installed. I installed the binary package through cabal before trying to install quickcheck.

He tells me that 2.1.1.1 is available, but it only installs 1.2.0.0. Why can't I install the latest version?

+4
source share
1 answer
 $ cabal install --dry-run quickcheck Resolving dependencies... In order, the following would be installed (use -v for more details): QuickCheck-1.2.0.0 

I'm not sure why he chooses the old version, but you can just do:

 $ cabal install --dry-run quickcheck-2.1 Resolving dependencies... In order, the following would be installed (use -v for more details): mtl-1.1.0.2 QuickCheck-2.1 

You may be more specific in the version number, but you don't need to.

+1
source

Source: https://habr.com/ru/post/1315816/


All Articles