I suggest we ...

Add function parameter default value shorthand

let add (x:int = 0) (y:int = 0) = a + b

or

let add (?x:int = 0) (?y:int = 0) = a + b

5 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Jerold Haas shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

F# Language

Feedback and Knowledge Base