You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the => in rules are vertically aligned. We should attempt similar treatment in a variety of cases, including some or all of the following:
fun declarations
fun foo (0 : int) (y : string) = y
| foo _ (z as y') =""
and bindings
datatype stuff =Foo|Bar of bar
and 'a things =Some|Other of 'a |Constructors
tuple/list/record patterns
fn (SOME x, SOME y) => x + y
| (SOME x, NONE ) => x
| (NONE , SOME y) => y
| (NONE , NONE ) =>0
case e of
(1 , _) =>"a"| (2345, _) =>"b"| _ =>"c"
At the moment, the
=>in rules are vertically aligned. We should attempt similar treatment in a variety of cases, including some or all of the following:fundeclarationsandbindings