RE: [Haskell] Strange "let"

2004-07-20 Thread Jinwoo Lee
I didn't think that this could be a function definition. Thank you. > -Original Message- > From: Ben Lippmeier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 2:41 PM > To: Jinwoo Lee > Cc: [EMAIL PROTECTED] > Subject: Re: [Haskell] Strange "let" > > > Ha!, > > What you've

Re: [Haskell] Strange "let"

2004-07-20 Thread Ben Lippmeier
Ha!, What you've done is redefine the (+) function.. try 10 + 30 and see what you get. Your local definition shadows the "real" (+) function defined in the prelude. let a + b = 3 is equivalent to let (+) a b = 3 ... Jinwoo Lee wrote: Hi, I'm a Haskell newbie. I was trying several things with GH

[Haskell] Strange "let"

2004-07-20 Thread Jinwoo Lee
Hi, I'm a Haskell newbie. I was trying several things with GHCi and found out that the expression "let a + b = 3" does not generate any errors. Prelude> let a + b = 3 Prelude> a :1: Variable not in scope: `a' Prelude> b :1: Variable not in scope: `b' Prelude> What does "let a + b = 3" mean

[Haskell] Hyperlinking problem in Haddock

2004-07-20 Thread Adrian Hey
Hello, Does anybody know how you hyperlink your Haddock to functions whose name ends with a prime. e.g. foldl' I've tried.. 'foldl\'' and 'foldl'' But neither works. In each case I get a link to foldl (unprimed version) followed by an isolated ' character. This is with Haddock v

[Haskell] Haskell support for the Eclipse IDE 0.4

2004-07-20 Thread Leif Frenzel
Dear Haskellers, There is now a new version of the Haskell development support for the Eclipse IDE. The project has been moved to Sourceforge, and the new project website is at http://eclipsefp.sourceforge.net . The new version requires Eclipse 3.0. Installation is done using the built-in update