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 "

[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