cloudRoutine / issueCommRepo

Sample Port of F# Uservoice Suggestions
0 stars 0 forks source link

Allow Attributes to follow the `member` keyword #33

Closed cloudRoutine closed 7 years ago

cloudRoutine commented 7 years ago

Allow Attributes to follow the member keyword [11628951]

Submitted by Jared Hester on 1/28/2016 12:00:00 AM
[ 1 votes ]

instead of just - [] member .ReturnFrom (value: 'T option) : Async<'T option> = async.Return value and - [] member .ReturnFrom (value: 'T option) : Async<'T option> = async.Return value ^ which causes indentation issues for following definitions without attributes allow - member [] __.Zero () : Async = Some () |> async.Return

Response

\ by fslang-admin on 2/3/2016 12:00:00 AM **

Declines see comment above Don Syme, F# Language Evolution

cloudRoutine commented 7 years ago

Posted by Don Syme on 2/3/2016 10:36:00 AM

Thanks for the suggestion However I will decline this: what we have works, and the proposed saving is only one line, and the lines become loooong. In balance I don't see a net benefit.