Re: bin-package-db

2011-03-08 Thread 山本和彦
Simon, Thank you for your reply. > This package is used internally by ghc-pkg and ghc to read and write > the binary package database cache, it shouldn't be necessary for > anyone else to use it - just invoke ghc-pkg to do any operations on > the database. OK. We started using the Cabal library

Re: help

2011-03-08 Thread Tim Watson
> fine.  On the other hand, you cannot simply type it at the ghci > prompt; you will get a parse error like the one you mentioned.  ghci > only allows you to enter expressions, not declarations. Which in practise (for a total beginner not familiar with haskell) means typing `let doubleMe x = x + x

Re: help

2011-03-08 Thread Brent Yorgey
On Tue, Mar 08, 2011 at 12:40:23PM +0800, Simon Sin wrote: > Hi! I'm new to Haskell. Following someone's notes, I was doing this > "doubleMe x = x + x". I did this two days ago and it worked. But I try to > do it today, I got an error "parse error on input '=' ", If you put doubleMe x = x +

Re: GHC build error: cannot satisfy -package ghc-7.1.20110217

2011-03-08 Thread Simon Marlow
On 04/03/11 11:49, William Knop wrote: Hi all, Not to pester, but this problem has me stumped. All of the dependencies that ghc reports are broken/recursive are reported (with identical versions) by ghc-pkg/cabal as being part of my bootstrap install. Rerunning the offending command with "-packa

Re: bin-package-db

2011-03-08 Thread Simon Marlow
On 08/03/11 07:46, Kazu Yamamoto (山本和彦) wrote: Hello, The release note of GHC 7.0.2 says: 1.5.6.3. bin-package-db This is an internal package, and should not be used. What is the intention of this change? The author of "cabal-delete" hesitates to register "cabal-delete" into H

help

2011-03-08 Thread Simon Sin
Hi! I'm new to Haskell. Following someone's notes, I was doing this "doubleMe x = x + x". I did this two days ago and it worked. But I try to do it today, I got an error "parse error on input '=' ", This is rather inconsistent and should not happen in a computer compiler (i.e. day one works, day