expression where definition

rdt@cs.queensu.ca rdt@cs.queensu.ca
Mon, 14 Jan 2002 13:56:37 -0500


Hi.  The "Hugs for beginners" section of the manual has the example

  Prelude> take 10 fibs where fibs = ...

and this indeed works. But I don't see this syntax in the grammar for Haskell;
where clauses are appended to declarations, not to expressions. Is this a Hugs
extension?

Bob T.