9 May
2002
9 May
'02
2:55 p.m.
Hello.
I like this idea, but I think it will cause ambiguity in parsing. Consider:
blah = do {foo} ...
should foo be parsed as a statement list (under the assumption that the open brace is instead of using layout) or as an assignment, as in:
blah = do {foo} x <- bar
(which probably wouldn't typecheck, but we don't know that at parsing.) i could be wrong and it might be able to be made work, but i'm not convinced...
I don't think this is ambigous -- do is a keyword, so no record field update can be assumed after it. Zdenek _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com