[Haskell-cafe] Small syntax question
bulat.ziganshin at gmail.com
Tue Jul 11 11:28:59 EDT 2006
Tuesday, July 11, 2006, 5:34:58 PM, you wrote:
> I can do this:
> (let a=3 in a) + (let b=4 in b)
> but not this:
> (a where a=3) + (b where b=3)
'where' is a part of function definition syntax, while 'let .. in ..'
is just an expression like 'if ...' or '(...)'.
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe