I suggest we ...

Indentation of new lines should be dependent on the *start* of the previous line, not the end of it

The following layout requires that content after the 'View<' be indented beyond the endding '<' on the following lines which makes the level of indentation dependent on the type name. Which is silly.

[<AbstractClass>]
type View<
'Events,
'Window when
'Window :> Window and
'Window : (new : unit -> 'Window)
>(?window) =

let window = defaultArg window (new 'Window())

member this.Window = window

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

5 comments

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

F# Language

Feedback and Knowledge Base