[Upgraded library for GHC 6.8. Nils Anders Danielsson **20071119212215] { hunk ./ChasingBottoms.cabal 12 -description: . - Do you ever feel the need to test code involving bottoms - (e.g. calls to the error function), or code involving infinite values? - Then this library could be useful for you. +description: Do you ever feel the need to test code involving bottoms (e.g. calls + to the error function), or code involving infinite values? Then this + library could be useful for you. hunk ./ChasingBottoms.cabal 16 -tested-with: GHC==6.6 -cabal-version: >= 1.2 +tested-with: GHC == 6.8.1 +cabal-version: >= 1.2 && < 2 hunk ./ChasingBottoms.cabal 35 - build-depends: QuickCheck, mtl + build-depends: QuickCheck >= 1.1 && < 2, + mtl >= 1.1 && < 2 hunk ./ChasingBottoms.cabal 38 - build-depends: base >= 3, containers, random + build-depends: base >= 3 && < 4, + containers >= 0.1 && < 1, + random >= 1 && < 2 hunk ./ChasingBottoms.cabal 42 - build-depends: base < 3 + build-depends: base >= 2 && < 3 hunk ./ChasingBottoms.cabal 46 --- Cabal. See make test. - ghc-options: -O2 +-- Cabal (in a simple way). See make test. hunk ./Header 90 -The code has been tested under GHC 6.6. Most parts can probably be +The code has been tested under GHC 6.8. Most parts can probably be hunk ./Makefile 18 -GHC_DOC_PATH ?= /chalmers/sw/unsup/ghc-6.6/share/ghc-6.6/html/libraries +GHC_DOC_PATH ?= /chalmers/sw/unsup/ghc-6.8.1/share/doc/ghc/libraries hunk ./Makefile 24 -# Path to GHC 6.6, used to run the tests. -GHC_66 ?= _ghc_6.6 +# Path to GHC 6.8, used to run the tests. +GHC_68 ?= _ghc_6.8.1 + +# GHC packages necessary for building and testing the library. +PACKAGES = base-3.0.0.0 containers-0.1.0.0 random-1.0.0.0 mtl-1.1.0.0 \ +QuickCheck-1.1.0.0 array-0.1.0.0 hunk ./Makefile 47 -# GHC packages whose documentation we want to hyperlink to. -PACKAGES = base mtl QuickCheck - hunk ./Makefile 55 - -i$(GHC_DOC_URL)/$(pkg),$(GHC_DOC_PATH)/$(pkg)/$(pkg).haddock) \ + -i$(GHC_DOC_URL)/$(pkg),$(GHC_DOC_PATH)/$(pkg)/`echo $(pkg) | sed -r -e 's/-.*//'`.haddock) \ hunk ./Makefile 65 -# Runs all tests using GHC 6.6. -compile = $(1) -ignore-dot-ghci -no-recomp --make $(2) +# Runs all tests using GHC 6.8. +compile = $(1) -ignore-dot-ghci -no-recomp -hide-all-packages \ + $(foreach pkg,$(PACKAGES),-package $(pkg)) --make $(2) hunk ./Makefile 73 - $(call testWithCompiler,$(GHC_66)) + $(call testWithCompiler,$(GHC_68)) }