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
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.
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