(no subject)
Hamilton Richards
ham@cs.utexas.edu
Mon, 27 Jan 2003 17:19:51 -0600
Is it a bug that this
Prelude> 2 + 3 where x = 7
runs but this
Prelude> (2 + 3 where x = 7)
doesn't:
ERROR - Syntax error in expression (unexpected keyword "where")
(I think both should be errors.)
regards,
--Ham
--
------------------------------------------------------------------
Hamilton Richards Department of Computer Sciences
Senior Lecturer The University of Texas at Austin
512-471-9525 1 University Station C0500
Taylor Hall 5.138 Austin, Texas 78712-1188
ham@cs.utexas.edu hrichrds@swbell.net
------------------------------------------------------------------