-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels