Those are my programs. The original build instructions I gave for binarytrees were:
$ cabal install -O2 --lib --package-env . ghc-compact parallel
$ ghc -package-env .ghc.environment.x86_64-linux-8.10.1 -O2 -threaded -rtsopts -fno-cse -fllvm -XBangPatterns HaskellGHC8.hs
But that is specific to GHC 8.10.1 so it might be easier to use this (this will create a file called env
):
$ cabal install -O2 --lib --package-env ./env ghc-compact parallel
$ ghc -package-env ./env -O2 -threaded -rtsopts -fno-cse -fllvm -XBangPatterns HaskellGHC8.hs