paul Hudak in his 'gentle introduction to haskell" says that a where clause
is allowed only at the top level of a set of equations or case expression.
So you cannot declare
let
f x = z / y where z = x + y
in ....
I do not know the reason why this restriction has been put.
I see the above definition perfectly alright.
Can anybody send me the reason for the above restriction.
-- [EMAIL PROTECTED]
- Re: N.K.Anil N K Anil
- Re: N.K.Anil jhf
