You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submitted by Don Syme on 6/20/2014 12:00:00 AM 6 votes on UserVoice prior to migration
Allow an extended grammar for #if/#elif.
if expr
elif expr
with grammar:
expr =
| expr && expr
| expr || expr
| not expr
| (expr)
| IDENT
With usual precedences. The syntax !IDENT should also be parsed and interpreted as “not”, though a warning given that “not” should be used instead in F# code.
The implementation must also provide sufficient tests.
Response
** by fslang-admin on 1/21/2015 12:00:00 AM **
Completed for F# 4.0+ see dotnet/fsharp#55
Don Syme, F# Language Evolution
Allow extended #if grammar [6079342]
Submitted by Don Syme on 6/20/2014 12:00:00 AM
6 votes on UserVoice prior to migration
Allow an extended grammar for #if/#elif.
if expr
elif expr
with grammar:
expr =
| expr && expr
| expr || expr
| not expr
| (expr)
| IDENT
With usual precedences. The syntax !IDENT should also be parsed and interpreted as “not”, though a warning given that “not” should be used instead in F# code.
The implementation must also provide sufficient tests.
Response
** by fslang-admin on 1/21/2015 12:00:00 AM **
Completed for F# 4.0+ see dotnet/fsharp#55
Don Syme, F# Language Evolution
Original UserVoice Submission
Archived Uservoice Comments
The text was updated successfully, but these errors were encountered: