
On Tue, 22 Apr 2014 20:52:04 +0200, John M. Dlugosz
I used cabal unpack to get the source of a package to read. Now I want to make a change. How do I tell Haskell Platform to make that (the same way cabal knows how to) and do so with the provided files rather than downloading into temp. I got a package to work before using Leksah, but I'd like to do it directly since the cabal file is present and works just fine.
Go to the directory where the .cabal file is, and type cabal install without a package name.
A related issue: what should I do about the local copy of a module name that is also installed? Can I make my project use that instead, without having to globally change the name in all the files?
You can use a GHC extension, to specify the package to use, see http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html look for Package-qualified imports Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --