Professor Paul, Thank you very much for your response. I have got the latest version (Version 1.2, September 2010) of the book entitled "The Haskell School of Music". As per your advice, I have tried to install Euterpea. To install Euterpea on Windows XP, I think, I need to install darcs first. Because the command is: darcs get http://code.haskell.org/Euterpea In my earlier e-mail, I have mentioned that I have problem in using cabal. Is there any alternative approach to install packages and their dependencies (either automatically or manually). Try 1: To use cabal ghc>cabal update But the the message remains the same as before: Downloading the latest package list from hackage.haskell.org cabal: failed Try 2: To use cabal ghc>cabal update -v But the the message remains the same as before: Downloading the latest package list from hackage.haskell.org cabal: failed As I couldn’t figure out the problem, I am trying to install packages manually. In the item 4 of my earlier e-mail, I have tried to install mtl-1.1.1.0 package manually. I have mentioned that it is installing in C:\Documents and Settings\userID\Application Data\cabal\mtl-1.1.1.0. But I think that it should be in F:\ghc\lib\mtl-1.1.1.0 (I may be wrong) as I have installed ghc in F:\ghc. Is there any solution for it? Once again, thank you very much for the time you have given. Regards, Deb
--- On Fri, 8/10/10, Hudak, Paul <[email protected]> wrote: From: Hudak, Paul <[email protected]> Subject: Re: [haskell-art] How to install packages related to Music To: "[email protected]" <[email protected]> Received: Friday, 8 October, 2010, 11:02 AM I would like to recommend that you try Euterpea, which you can find on my course website: http://plucky.cs.yale.edu/cs431/ If you click on the “Software Resources” tab, you will find detailed installation instructions for multiple platforms. Euterpea also comes with a textbook, which you can find on the “Reading” tab. Best wishes, -Paul Paul Hudak Professor, Department of Computer Science Yale University PO Box 208285 New Haven, CT 06520-8285 203-432-1235 [email protected] www.cs.yale.edu/~hudak From: [email protected] [mailto:[email protected]] On Behalf Of Deb Midya Sent: Thursday, October 07, 2010 7:05 PM To: [email protected] Subject: [haskell-art] How to install packages related to Music Hi Haskell-art users, Thanks in advance. I am using GHCi (6.12.3) on Windows XP. May I request you to assist me for the following please. I am trying to install packages related to Music. What are the packages I can install and how? Please provide me detailed information (packages, documentation, literature or tutorial). I have tried like this: A. Check for cabal update: I have tried with at ghc command prompt: ghc>cabal update -v But the the message remains the same as before: Downloading the latest package list from hackage.haskell.org cabal: failed I couldn’t figure out the problem here. B: Tried to install a package (mtl-1.1.1.0 as an example) manually. 1. I have installed ghc in F:\ghc drive. 2. As a trial, I have downloaded the package mtl from http://hackage.haskell.org/package/mtl-1.1.1.0 3. I have used cygwin to unpack the files. 4. At DOS prompt (F:\Haskell\Literature\Packages\mtl-1.1.1.0\cabal install) - It looks like installing in C:\Documents and Settings\userID\Application Data\cabal\mtl-1.1.1.0 At Prelude I have issued a command (Prelude> :show packages), it does not show the package mtl. But it shows these packages: packages currently loaded: base ffi-1.0 ghc-prim integer-gmp rts I think the package mtl-1.1.1.0 should be in F:\ghc\lib\mtl-1.1.1.0 After installation of a package, how one can test that using an example. Once again, thank you very much for the time you have given. Regards, Deb -----Inline Attachment Follows----- _______________________________________________ haskell-art mailing list [email protected] http://lists.lurk.org/mailman/listinfo/haskell-art
_______________________________________________ haskell-art mailing list [email protected] http://lists.lurk.org/mailman/listinfo/haskell-art
