[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
N.K.Anil
- To: haskell@CS.YALE.edu
- Subject: N.K.Anil
- From: " (N K Anil)" <anil@kailash.cse.iitb.ernet.in (N K Anil)>
- Date: Fri, 29 May 1992 16:46:36 +0200
- Sender: haskell-request@dcs.glasgow.ac.uk
- X400-content-type: P2-1984 (2)
- X400-mts-identifier: [/PRMD=UK.AC/ADMD= /C=GB/;<9205290916.AA11114@kailash.cse.]
- X400-originator: haskell-request@dcs.glasgow.ac.uk
- X400-received: by mta chalmers.se in /PRMD=chalmers/ADMD=sunet/C=se/; Relayed; Fri, 29 May 1992 20:21:22 +0200
- X400-received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed; Fri, 29 May 1992 20:19:22 +0200
- X400-received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed; Fri, 29 May 1992 21:01:00 +0200
- X400-received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed; Fri, 29 May 1992 20:06:32 +0200
- X400-received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed; Fri, 29 May 1992 16:46:36 +0200
- X400-recipients: non-disclosure:;
Date: Fri, 29 May 1992 16:46:36 +0200
From: " (N K Anil)" <anil@kailash.cse.iitb.ernet.in (N K Anil)>
Sender: haskell-request@dcs.glasgow.ac.uk
To: haskell@CS.YALE.edu
Subject: N.K.Anil
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.
-- anil@cse.iitb.ernet.in