The VS2010 Beta 2 F# compiler always complains about my usage of the when keyword, even when using copy-pasted code which is supposed to work, such as either of these snippets. For instance, this is the error I get when trying to execute a very trivial expression:
"Error FS0010: Unexpected keyword 'when' in expression. Expected '->' or other token. "
[for i in 1..50 when i < 10 -> i]
---------------^^^^