Layout

1993-04-21 Thread Lennart Augustsson
Oh ye Haskell wizards. Is the following program syntactically legal or not? x = leta = let { b=1; c=2 } in 3 in 4 I.e. is the layout rule from an outer scope in effect even inside explicit brackets? Here's another x = let a = let in 3 in 4 OK, what ha

Re: Layout

1993-04-21 Thread jhf
| Oh ye Haskell wizards. Is the following program syntactically legal | or not? | | x = leta = let { b=1; | c=2 | } in 3 | in 4 | | I.e. is the layout rule from an outer scope in effect even inside | explicit brackets? Obviously, this needs clarification. There